diff options
author | Josh Matthews <josh@joshmatthews.net> | 2015-02-20 15:49:43 -0500 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2015-03-03 16:25:40 -0500 |
commit | c816975750c44ea9217e10f1f13ed1e94068a9e8 (patch) | |
tree | b29c9366cd3059c8eb7c4cceb96881e0ebeb3bf4 /components/script/dom/document.rs | |
parent | 6351fc75fd3ce5d2d2136bfc18cde8370dce2646 (diff) | |
download | servo-c816975750c44ea9217e10f1f13ed1e94068a9e8.tar.gz servo-c816975750c44ea9217e10f1f13ed1e94068a9e8.zip |
Documentation and cleanup.
Diffstat (limited to 'components/script/dom/document.rs')
-rw-r--r-- | components/script/dom/document.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/document.rs b/components/script/dom/document.rs index 1d611a6a643..6d559483e1e 100644 --- a/components/script/dom/document.rs +++ b/components/script/dom/document.rs @@ -386,7 +386,7 @@ impl<'a> DocumentHelpers<'a> for JSRef<'a, Document> { Some(root) => root, None => return None, }; - let root: JSRef<Node> = NodeCast::from_ref(root); + let root = NodeCast::from_ref(root); let win = self.window.root(); let address = match win.r().layout().hit_test(root.to_trusted_node_address(), *point) { Ok(HitTestResponse(node_address)) => { |