From b7fe83d573d8073f7d663bee5c0b3e1493b9998d Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Tue, 1 Oct 2013 23:26:45 -0700 Subject: Check enums in missing_doc lint Closes #9671 --- src/libstd/fmt/parse.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/libstd/fmt') diff --git a/src/libstd/fmt/parse.rs b/src/libstd/fmt/parse.rs index b185b67d09c..a95bd563a81 100644 --- a/src/libstd/fmt/parse.rs +++ b/src/libstd/fmt/parse.rs @@ -61,17 +61,20 @@ pub struct FormatSpec<'self> { /// Enum describing where an argument for a format can be located. #[deriving(Eq)] +#[allow(missing_doc)] pub enum Position<'self> { ArgumentNext, ArgumentIs(uint), ArgumentNamed(&'self str) } /// Enum of alignments which are supported. #[deriving(Eq)] +#[allow(missing_doc)] pub enum Alignment { AlignLeft, AlignRight, AlignUnknown } /// Various flags which can be applied to format strings, the meaning of these /// flags is defined by the formatters themselves. #[deriving(Eq)] +#[allow(missing_doc)] pub enum Flag { FlagSignPlus, FlagSignMinus, @@ -82,6 +85,7 @@ pub enum Flag { /// A count is used for the precision and width parameters of an integer, and /// can reference either an argument or a literal integer. #[deriving(Eq)] +#[allow(missing_doc)] pub enum Count { CountIs(uint), CountIsParam(uint), @@ -126,6 +130,7 @@ pub struct PluralArm<'self> { /// /// http://www.icu-project.org/apiref/icu4c/classicu_1_1PluralRules.html #[deriving(Eq, IterBytes)] +#[allow(missing_doc)] pub enum PluralKeyword { Zero, One, Two, Few, Many } -- cgit 1.4.1-3-g733a5