mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Upgrade Rust.
This commit is contained in:
parent
2ae671b5aa
commit
629c4c6afe
148 changed files with 992 additions and 967 deletions
|
@ -54,7 +54,7 @@ impl<'a> FormDataMethods for JSRef<'a, FormData> {
|
|||
fn Append(&mut self, name: DOMString, value: &JSRef<Blob>, filename: Option<DOMString>) {
|
||||
let blob = BlobData {
|
||||
blob: value.unrooted(),
|
||||
name: filename.unwrap_or("default".to_owned())
|
||||
name: filename.unwrap_or("default".to_string())
|
||||
};
|
||||
self.data.insert(name.clone(), blob);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue