mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Update to latest Rust.
This commit is contained in:
parent
8b47221ff8
commit
94202661c0
100 changed files with 439 additions and 379 deletions
|
@ -46,7 +46,7 @@ impl FormData {
|
|||
pub fn Append(&mut self, name: &DOMString, value: @mut Blob, filename: Option<DOMString>) {
|
||||
let blob = BlobData {
|
||||
blob: value,
|
||||
name: filename.unwrap_or_default(Some(~"default"))
|
||||
name: filename.unwrap_or(Some(~"default"))
|
||||
};
|
||||
self.data.insert(null_str_as_empty(name), blob);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue