mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Stop using int/uint in script.
This commit is contained in:
parent
74f8c0eeb7
commit
c2e81be8a5
12 changed files with 23 additions and 24 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue