mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +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
|
@ -45,7 +45,7 @@ impl<'a> NamedNodeMapMethods for JSRef<'a, NamedNodeMap> {
|
|||
// FIXME(https://github.com/rust-lang/rust/issues/23338)
|
||||
let owner = owner.r();
|
||||
let attrs = owner.attrs();
|
||||
attrs.as_slice().get(index as uint).map(|x| Temporary::new(x.clone()))
|
||||
attrs.as_slice().get(index as usize).map(|x| Temporary::new(x.clone()))
|
||||
}
|
||||
|
||||
fn IndexedGetter(self, index: u32, found: &mut bool) -> Option<Temporary<Attr>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue