aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-01-29 21:20:03 +0100
committerMs2ger <ms2ger@gmail.com>2015-01-29 21:20:03 +0100
commit311d936169b719730d2ecb0fb98bc6f9cef301f6 (patch)
tree8587dfb135d5d8ab24204476ef87e41774a58708
parent36ce24454c2f51a6e84630e42141d75b21e259e2 (diff)
downloadservo-311d936169b719730d2ecb0fb98bc6f9cef301f6.tar.gz
servo-311d936169b719730d2ecb0fb98bc6f9cef301f6.zip
Require snake case in bindings code.
-rw-r--r--components/script/lib.rs4
1 files 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;