mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Modify script
to prevent further violations of snake_case
This commit is contained in:
parent
2a594821ba
commit
f7db4b7f80
135 changed files with 205 additions and 54 deletions
|
@ -18,6 +18,7 @@ use std::borrow::ToOwned;
|
|||
use std::cell::{Cell, RefCell};
|
||||
|
||||
#[dom_struct]
|
||||
#[allow(non_snake_case)]
|
||||
pub struct TextDecoder {
|
||||
reflector_: Reflector,
|
||||
encoding: &'static Encoding,
|
||||
|
@ -29,6 +30,7 @@ pub struct TextDecoder {
|
|||
do_not_flush: Cell<bool>,
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
impl TextDecoder {
|
||||
fn new_inherited(encoding: &'static Encoding, fatal: bool, ignoreBOM: bool) -> TextDecoder {
|
||||
TextDecoder {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue