mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +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
|
@ -290,6 +290,7 @@ static DEFAULT_INPUT_SIZE: u32 = 20;
|
|||
static DEFAULT_MAX_LENGTH: i32 = -1;
|
||||
static DEFAULT_MIN_LENGTH: i32 = -1;
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
impl HTMLInputElement {
|
||||
fn new_inherited(
|
||||
local_name: LocalName,
|
||||
|
@ -1038,7 +1039,7 @@ impl HTMLInputElementMethods for HTMLInputElement {
|
|||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-input-valueasdate
|
||||
#[allow(unsafe_code)]
|
||||
#[allow(unsafe_code, non_snake_case)]
|
||||
fn SetValueAsDate(&self, cx: SafeJSContext, value: *mut JSObject) -> ErrorResult {
|
||||
rooted!(in(*cx) let value = value);
|
||||
if !self.does_value_as_date_apply() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue