script: to_string() -> into_string()

This commit is contained in:
Manish Goregaokar 2014-12-14 04:16:34 +05:30 committed by Ms2ger
parent 475ff4dcb7
commit e9d1740e19
39 changed files with 152 additions and 152 deletions

View file

@ -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()),