From a8fdf5b6b9cf615c7ad18d01871491f3e0ca2562 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Mon, 2 Jan 2017 04:59:15 +0100 Subject: [PATCH] style: Require documentation also for a Gecko build. --- components/style/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/style/lib.rs b/components/style/lib.rs index 70737c81644..e740d6ad385 100644 --- a/components/style/lib.rs +++ b/components/style/lib.rs @@ -26,7 +26,7 @@ #![cfg_attr(feature = "servo", feature(proc_macro))] #![deny(warnings)] -#![cfg_attr(feature = "servo", deny(missing_docs))] +#![deny(missing_docs)] // FIXME(bholley): We need to blanket-allow unsafe code in order to make the // gecko atom!() macro work. When Rust 1.14 is released [1], we can uncomment @@ -150,7 +150,7 @@ use style_traits::ToCss; #[cfg(feature = "servo")] pub use html5ever_atoms::Namespace; /// The CSS properties supported by the style system. -// Generated from the properties.mako.rs template by build.rs +/// Generated from the properties.mako.rs template by build.rs #[macro_use] #[allow(unsafe_code)] #[deny(missing_docs)] @@ -159,7 +159,7 @@ pub mod properties { } #[cfg(feature = "gecko")] -#[allow(unsafe_code)] +#[allow(unsafe_code, missing_docs)] pub mod gecko_properties { include!(concat!(env!("OUT_DIR"), "/gecko_properties.rs")); }