aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/document.rs
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-08-28 09:52:53 -0400
committerCorey Farwell <coreyf@rwell.org>2015-08-28 10:30:42 -0400
commit5ccb0d43ef68c341afa51ec0dcde90fbb277c1fc (patch)
tree98d66a744cd8fcde27e4e7670ba4db5d65b286bd /components/script/dom/document.rs
parent6431e8da43817e8a6b1e4757afbcf45c1a629707 (diff)
downloadservo-5ccb0d43ef68c341afa51ec0dcde90fbb277c1fc.tar.gz
servo-5ccb0d43ef68c341afa51ec0dcde90fbb277c1fc.zip
Merge adjacent identical `impl` sections
Prior to #7416 and #7401, many of these `impl` sections were not identical
Diffstat (limited to 'components/script/dom/document.rs')
-rw-r--r--components/script/dom/document.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/components/script/dom/document.rs b/components/script/dom/document.rs
index 3841c0a45cb..c0d07bdfc43 100644
--- a/components/script/dom/document.rs
+++ b/components/script/dom/document.rs
@@ -1090,10 +1090,7 @@ impl Document {
}
document
}
-}
-
-impl Document {
fn create_node_list<F: Fn(&Node) -> bool>(&self, callback: F) -> Root<NodeList> {
let window = self.window.root();
let doc = self.GetDocumentElement();