aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/node.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/dom/node.rs')
-rw-r--r--src/components/script/dom/node.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/dom/node.rs b/src/components/script/dom/node.rs
index 7b07a795ec4..e06c77577ed 100644
--- a/src/components/script/dom/node.rs
+++ b/src/components/script/dom/node.rs
@@ -463,7 +463,7 @@ impl<'self, View> AbstractNode<View> {
}
impl<View> Iterator<AbstractNode<View>> for AbstractNodeChildrenIterator<View> {
- pub fn next(&mut self) -> Option<AbstractNode<View>> {
+ fn next(&mut self) -> Option<AbstractNode<View>> {
let node = self.current_node;
self.current_node = self.current_node.chain(|node| node.next_sibling());
node