mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
script: to_string() -> into_string()
This commit is contained in:
parent
475ff4dcb7
commit
e9d1740e19
39 changed files with 152 additions and 152 deletions
|
@ -68,9 +68,9 @@ impl<'a> HTMLSelectElementMethods for JSRef<'a, HTMLSelectElement> {
|
|||
fn Type(self) -> DOMString {
|
||||
let elem: JSRef<Element> = ElementCast::from_ref(self);
|
||||
if elem.has_attribute(&atom!("multiple")) {
|
||||
"select-multiple".to_string()
|
||||
"select-multiple".into_string()
|
||||
} else {
|
||||
"select-one".to_string()
|
||||
"select-one".into_string()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue