Remove some extraneous &* pairs

This commit is contained in:
Cameron Zwarich 2014-09-19 21:32:02 -07:00
parent d768ee77ad
commit 8aec08074c
4 changed files with 6 additions and 6 deletions

View file

@ -67,8 +67,8 @@ impl<'a> HTMLTableElementMethods for JSRef<'a, HTMLTableElement> {
match old_caption {
Some(htmlelem) => {
let htmlelem_jsref = &*htmlelem.root();
let old_caption_node: JSRef<Node> = NodeCast::from_ref(*htmlelem_jsref);
let htmlelem_root = htmlelem.root();
let old_caption_node: JSRef<Node> = NodeCast::from_ref(*htmlelem_root);
assert!(node.RemoveChild(old_caption_node).is_ok());
}
None => ()