dimensioned icon indicating copy to clipboard operation
dimensioned copied to clipboard

derived! incompatible with #[deny(missing_docs)]

Open spease opened this issue 7 years ago • 1 comments

Even if I add a doc comment above the macro invocation, I still get a "missing documentation for a type alias" error.

Eg:

#![deny(missing_docs)]

use dimensioned::si::{self, SI};
/// Some doc comment
derived!(si, SI: InverseMeter3 = Unitless / Meter3);

spease avatar Feb 01 '18 03:02 spease

Sounds like it would help to add some `#[allow(missing_docs)] attrs in the derive implementation. I need to do something similar in ClapMe to silence warnings.

droundy avatar Aug 13 '18 18:08 droundy