mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
Avoid a type error with a non-null default value for an optional nullable string argument.
This commit is contained in:
parent
716e1ce144
commit
54a59b9d38
3 changed files with 15 additions and 9 deletions
|
@ -134,7 +134,7 @@ impl TestBinding {
|
|||
pub fn PassOptionalNullableUnsignedLongLongWithNonNullDefault(&self, _: Option<u64>) {}
|
||||
// pub fn PassOptionalNullableFloatWithNonNullDefault(&self, _: Option<f32>) {}
|
||||
// pub fn PassOptionalNullableDoubleWithNonNullDefault(&self, _: Option<f64>) {}
|
||||
// pub fn PassOptionalNullableStringWithNonNullDefault(&self, _: Option<DOMString>) {}
|
||||
pub fn PassOptionalNullableStringWithNonNullDefault(&self, _: Option<DOMString>) {}
|
||||
}
|
||||
|
||||
impl Reflectable for TestBinding {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue