mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Fix and disable some compile warnings.
This commit is contained in:
parent
eae9b94399
commit
3e3536cf39
6 changed files with 6 additions and 2 deletions
|
@ -762,6 +762,6 @@ impl<'a> PrivateXMLHttpRequestHelpers for JSRef<'a, XMLHttpRequest> {
|
|||
}
|
||||
// According to Simon, decode() should never return an error, so unwrap()ing
|
||||
// the result should be fine. XXXManishearth have a closer look at this later
|
||||
encoding.decode(self.response.as_slice(), DecodeReplace).unwrap().to_owned()
|
||||
encoding.decode(self.response.as_slice(), DecodeReplace).unwrap().to_string()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue