mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +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
|
@ -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
|
||||
};
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue