mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Remove some extraneous &* pairs
This commit is contained in:
parent
d768ee77ad
commit
8aec08074c
4 changed files with 6 additions and 6 deletions
|
@ -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 => ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue