mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
clippy: Fix more clippy warnings in components/scripts/dom
(#31914)
* refrence to a reference * refrence to a reference
This commit is contained in:
parent
5aae820f6d
commit
3ddb47e902
5 changed files with 11 additions and 11 deletions
|
@ -131,7 +131,7 @@ impl URLSearchParamsMethods for URLSearchParams {
|
|||
let list = self.list.borrow();
|
||||
list.iter()
|
||||
.find(|&kv| kv.0 == name.0)
|
||||
.map(|ref kv| USVString(kv.1.clone()))
|
||||
.map(|kv| USVString(kv.1.clone()))
|
||||
}
|
||||
|
||||
// https://url.spec.whatwg.org/#dom-urlsearchparams-getall
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue