mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Upgrade Rust.
This commit is contained in:
parent
62c9a779a9
commit
7a4321d649
81 changed files with 265 additions and 236 deletions
|
@ -70,7 +70,7 @@ impl<'a> FormDataMethods for JSRef<'a, FormData> {
|
|||
|
||||
fn Get(&self, name: DOMString) -> Option<FileOrString> {
|
||||
if self.data.deref().borrow().contains_key_equiv(&name) {
|
||||
match self.data.deref().borrow().get(&name).get(0).clone() {
|
||||
match self.data.deref().borrow().get(&name)[0].clone() {
|
||||
StringData(ref s) => Some(eString(s.clone())),
|
||||
FileData(ref f) => {
|
||||
Some(eFile(f.clone()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue