Stop using int/uint in script.

This commit is contained in:
Ms2ger 2015-04-03 13:30:30 +02:00
parent 74f8c0eeb7
commit c2e81be8a5
12 changed files with 23 additions and 24 deletions

View file

@ -339,7 +339,7 @@ impl<'a> DocumentHelpers<'a> for JSRef<'a, Document> {
let elements = entry.into_mut();
let new_node: JSRef<Node> = NodeCast::from_ref(element);
let mut head: uint = 0u;
let mut head: usize = 0;
let root: JSRef<Node> = NodeCast::from_ref(root.r());
for node in root.traverse_preorder() {
let elem: Option<JSRef<Element>> = ElementCast::to_ref(node);