diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-02-20 07:09:54 -0700 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-02-20 07:09:54 -0700 |
commit | 276f74b1ddec9dfa4cb053eb0802f95bd5ed6b66 (patch) | |
tree | 4c8fa052611da7fa05f107fb206d79aa17be1ecb /components/script/dom/domtokenlist.rs | |
parent | 45a0e0e65c0d104c3e29f6521b11b4285cde58d2 (diff) | |
parent | 6d30ec77c89d157819a7c8e99d34b6aabf5bc5c6 (diff) | |
download | servo-276f74b1ddec9dfa4cb053eb0802f95bd5ed6b66.tar.gz servo-276f74b1ddec9dfa4cb053eb0802f95bd5ed6b66.zip |
auto merge of #4979 : Ms2ger/servo/audit-ints, r=Manishearth
Diffstat (limited to 'components/script/dom/domtokenlist.rs')
-rw-r--r-- | components/script/dom/domtokenlist.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/domtokenlist.rs b/components/script/dom/domtokenlist.rs index 59a7f0d3e0a..c0ba2e1ebd1 100644 --- a/components/script/dom/domtokenlist.rs +++ b/components/script/dom/domtokenlist.rs @@ -74,7 +74,7 @@ impl<'a> DOMTokenListMethods for JSRef<'a, DOMTokenList> { // http://dom.spec.whatwg.org/#dom-domtokenlist-item fn Item(self, index: u32) -> Option<DOMString> { self.attribute().root().and_then(|attr| attr.r().value().tokens().and_then(|tokens| { - tokens.get(index as uint).map(|token| token.as_slice().to_owned()) + tokens.get(index as usize).map(|token| token.as_slice().to_owned()) })) } |