mirror of
https://github.com/servo/servo.git
synced 2025-08-02 04:00:32 +01:00
Require snake case in bindings code.
This commit is contained in:
parent
36ce24454c
commit
311d936169
1 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ pub mod dom {
|
||||||
|
|
||||||
/// The code to expose the DOM to JavaScript through IDL bindings.
|
/// The code to expose the DOM to JavaScript through IDL bindings.
|
||||||
#[allow(unsafe_blocks)]
|
#[allow(unsafe_blocks)]
|
||||||
#[deny(missing_docs)]
|
#[deny(missing_docs, non_snake_case)]
|
||||||
pub mod bindings {
|
pub mod bindings {
|
||||||
pub mod cell;
|
pub mod cell;
|
||||||
pub mod global;
|
pub mod global;
|
||||||
|
@ -72,7 +72,7 @@ pub mod dom {
|
||||||
pub mod trace;
|
pub mod trace;
|
||||||
|
|
||||||
/// Generated JS-Rust bindings.
|
/// Generated JS-Rust bindings.
|
||||||
#[allow(missing_docs)]
|
#[allow(missing_docs, non_snake_case)]
|
||||||
pub mod codegen {
|
pub mod codegen {
|
||||||
#[allow(unrooted_must_root)]
|
#[allow(unrooted_must_root)]
|
||||||
pub mod Bindings;
|
pub mod Bindings;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue