diff options
Diffstat (limited to 'components/script/dom/macros.rs')
-rw-r--r-- | components/script/dom/macros.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/macros.rs b/components/script/dom/macros.rs index a5789a5cc61..066c967c594 100644 --- a/components/script/dom/macros.rs +++ b/components/script/dom/macros.rs @@ -112,7 +112,7 @@ macro_rules! make_enumerated_getter( // https://html.spec.whatwg.org/multipage/forms.html#attr-fs-method match val.as_slice() { $($choices)|+ => val, - _ => $default.to_string() + _ => $default.into_string() } } ); |