mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Get rid of a bunch of explicit derefs
This commit is contained in:
parent
ca56ebbb09
commit
722aa86c89
49 changed files with 340 additions and 360 deletions
|
@ -121,7 +121,7 @@ impl NodeIteratorMethods for NodeIterator {
|
|||
}
|
||||
|
||||
// Step 3-1.
|
||||
for following_node in node.r().following_nodes(&self.root_node) {
|
||||
for following_node in node.following_nodes(&self.root_node) {
|
||||
// Step 3-2.
|
||||
let result = try!(self.accept_node(following_node.r()));
|
||||
|
||||
|
@ -165,7 +165,7 @@ impl NodeIteratorMethods for NodeIterator {
|
|||
}
|
||||
|
||||
// Step 3-1.
|
||||
for preceding_node in node.r().preceding_nodes(&self.root_node) {
|
||||
for preceding_node in node.preceding_nodes(&self.root_node) {
|
||||
|
||||
// Step 3-2.
|
||||
let result = try!(self.accept_node(preceding_node.r()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue