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

@ -36,7 +36,7 @@ impl Blob {
reflector_: Reflector::new(),
type_: type_,
bytes: bytes,
typeString: "".to_string(),
typeString: "".into_string(),
global: GlobalField::from_rooted(global)
//isClosed_: false
}
@ -97,7 +97,7 @@ impl<'a> BlobMethods for JSRef<'a, Blob> {
};
/*
let relativeContentType = match contentType {
None => "".to_string(),
None => "".into_string(),
Some(str) => str
};
*/