NamespaceSet: rm unneeded cast
This commit is contained in:
parent
26f03c27ed
commit
98fd71fd3f
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ impl NamespaceSet {
|
|||
|
||||
fn set_parent(&self, parent: &Element) {
|
||||
let mut parent_ns = self.parent.borrow_mut();
|
||||
let new_set = ((&parent.namespaces) as &Rc<NamespaceSet>).clone();
|
||||
let new_set = parent.namespaces.clone();
|
||||
*parent_ns = Some(new_set);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue