mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Fix variable does not need to be mutable
warning
This commit is contained in:
parent
c9325c9711
commit
01d4739d16
2 changed files with 2 additions and 2 deletions
|
@ -782,7 +782,7 @@ impl<'a> NodeHelpers<'a> for JSRef<'a, Node> {
|
|||
fn query_selector_all(self, selectors: DOMString) -> Fallible<Temporary<NodeList>> {
|
||||
// Step 1.
|
||||
unsafe {
|
||||
self.query_selector_iter(selectors).map(|mut iter| {
|
||||
self.query_selector_iter(selectors).map(|iter| {
|
||||
let window = window_from_node(self).root();
|
||||
NodeList::new_simple_list(window.r(), iter.collect())
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue