Fix comments and variable names for atom wrapper.

This commit is contained in:
Glenn Watson 2014-07-17 08:31:31 +10:00
parent dddd3346a6
commit 560e380767
2 changed files with 6 additions and 6 deletions

View file

@ -1273,7 +1273,7 @@ impl Node {
ElementNodeTypeId(..) => {
let element: &JSRef<Element> = ElementCast::to_ref(node).unwrap();
let element = element.deref();
let element = build_element_from_tag(element.local_name.as_slice().into_string(),
let element = build_element_from_tag(element.local_name.as_slice().to_string(),
element.namespace.clone(), &*document);
NodeCast::from_temporary(element)
},