mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
Comment out references to floating-point arguments with default values.
Our parser does not support floating-point constants, so we can't use default values for floating-point types.
This commit is contained in:
parent
6219d5b24b
commit
f392334d2e
1 changed files with 2 additions and 2 deletions
|
@ -228,8 +228,8 @@ pub trait TestBindingMethods {
|
|||
fn PassOptionalNullableUnsignedLongWithDefault(&self, _: Option<u32>) {}
|
||||
fn PassOptionalNullableLongLongWithDefault(&self, _: Option<i64>) {}
|
||||
fn PassOptionalNullableUnsignedLongLongWithDefault(&self, _: Option<u64>) {}
|
||||
fn PassOptionalNullableFloatWithDefault(&self, _: Option<f32>) {}
|
||||
fn PassOptionalNullableDoubleWithDefault(&self, _: Option<f64>) {}
|
||||
// fn PassOptionalNullableFloatWithDefault(&self, _: Option<f32>) {}
|
||||
// fn PassOptionalNullableDoubleWithDefault(&self, _: Option<f64>) {}
|
||||
fn PassOptionalNullableStringWithDefault(&self, _: Option<DOMString>) {}
|
||||
fn PassOptionalNullableByteStringWithDefault(&self, _: Option<ByteString>) {}
|
||||
// fn PassOptionalNullableEnumWithDefault(&self, _: Option<TestEnum>) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue