Skip to content

Commit

Permalink
Require snake case in bindings code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ms2ger committed Jan 29, 2015
1 parent 36ce244 commit 311d936
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/script/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

5 comments on commit 311d936

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from jdm
at Ms2ger@311d936

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging Ms2ger/servo/snake-bindings = 311d936 into auto

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ms2ger/servo/snake-bindings = 311d936 merged ok, testing candidate = 648b499

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 648b499

Please sign in to comment.