From 51134b9dc819330a983a87ad11a894a3f781766c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Mon, 2 Jan 2017 01:01:47 +0100 Subject: [PATCH] style: Disallow new undocumented code by default for Servo. Still a bunch of Gecko-only code to document. --- components/style/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/components/style/lib.rs b/components/style/lib.rs index f6c310a18c8..70737c81644 100644 --- a/components/style/lib.rs +++ b/components/style/lib.rs @@ -26,6 +26,7 @@ #![cfg_attr(feature = "servo", feature(proc_macro))] #![deny(warnings)] +#![cfg_attr(feature = "servo", 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