mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +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
|
@ -49,7 +49,7 @@ impl<'a> DOMParserMethods for JSRef<'a, DOMParser> {
|
|||
-> Fallible<Temporary<Document>> {
|
||||
let window = self.window.root().clone();
|
||||
let url = window.get_url();
|
||||
let content_type = DOMParserBinding::SupportedTypeValues::strings[ty as uint].to_string();
|
||||
let content_type = DOMParserBinding::SupportedTypeValues::strings[ty as uint].into_string();
|
||||
match ty {
|
||||
Text_html => {
|
||||
let document = Document::new(window, Some(url.clone()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue