mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Fix Equiv related deprecation warnings
...except where we have our own implementations of Equiv.
This commit is contained in:
parent
7bbce60e43
commit
020a767849
3 changed files with 6 additions and 6 deletions
|
@ -80,11 +80,11 @@ impl<'a> URLSearchParamsMethods for JSRef<'a, URLSearchParams> {
|
|||
}
|
||||
|
||||
fn Get(self, name: DOMString) -> Option<DOMString> {
|
||||
self.data.borrow().find_equiv(&name).map(|v| v[0].clone())
|
||||
self.data.borrow().get(&name).map(|v| v[0].clone())
|
||||
}
|
||||
|
||||
fn Has(self, name: DOMString) -> bool {
|
||||
self.data.borrow().contains_key_equiv(&name)
|
||||
self.data.borrow().contains_key(&name)
|
||||
}
|
||||
|
||||
fn Set(self, name: DOMString, value: DOMString) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue