mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Update nightly rustc.
This commit is contained in:
parent
74f1eb199e
commit
01681e79c4
20 changed files with 33 additions and 28 deletions
|
@ -187,7 +187,7 @@ impl TreeWalkerMethods for TreeWalker {
|
|||
// outside of the tree rooted at the original root.
|
||||
{
|
||||
return Ok(None);
|
||||
}
|
||||
},
|
||||
Some(n) => node = n,
|
||||
}
|
||||
// "5. Filter node and if the return value is FILTER_ACCEPT, then
|
||||
|
@ -319,7 +319,7 @@ impl TreeWalker {
|
|||
if self.is_root_node(&parent) || self.is_current_node(&parent) =>
|
||||
{
|
||||
return Ok(None);
|
||||
}
|
||||
},
|
||||
// "5. Otherwise, set node to parent."
|
||||
Some(parent) => node = parent,
|
||||
}
|
||||
|
@ -467,7 +467,7 @@ impl<'a> Iterator for &'a TreeWalker {
|
|||
// which cannot produce an Err result.
|
||||
{
|
||||
unreachable!()
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue