From 311d936169b719730d2ecb0fb98bc6f9cef301f6 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Thu, 29 Jan 2015 21:20:03 +0100 Subject: [PATCH] Require snake case in bindings code. --- components/script/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/script/lib.rs b/components/script/lib.rs index 17a05dac3fb..faa80504a55 100644 --- a/components/script/lib.rs +++ b/components/script/lib.rs @@ -56,7 +56,7 @@ pub mod dom { /// The code to expose the DOM to JavaScript through IDL bindings. #[allow(unsafe_blocks)] - #[deny(missing_docs)] + #[deny(missing_docs, non_snake_case)] pub mod bindings { pub mod cell; pub mod global; @@ -72,7 +72,7 @@ pub mod dom { pub mod trace; /// Generated JS-Rust bindings. - #[allow(missing_docs)] + #[allow(missing_docs, non_snake_case)] pub mod codegen { #[allow(unrooted_must_root)] pub mod Bindings;