aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/domrectlist.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-02-20 14:43:29 +0100
committerMs2ger <ms2ger@gmail.com>2015-02-20 14:45:47 +0100
commit6d30ec77c89d157819a7c8e99d34b6aabf5bc5c6 (patch)
tree4c8fa052611da7fa05f107fb206d79aa17be1ecb /components/script/dom/domrectlist.rs
parent9c863a6bd42e1cbcdf2c54299145d266534f25c0 (diff)
downloadservo-6d30ec77c89d157819a7c8e99d34b6aabf5bc5c6.tar.gz
servo-6d30ec77c89d157819a7c8e99d34b6aabf5bc5c6.zip
Replace uint/int by usize/isize in various places.
Diffstat (limited to 'components/script/dom/domrectlist.rs')
-rw-r--r--components/script/dom/domrectlist.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/domrectlist.rs b/components/script/dom/domrectlist.rs
index 86cb64c6454..8ef7b8fce52 100644
--- a/components/script/dom/domrectlist.rs
+++ b/components/script/dom/domrectlist.rs
@@ -43,7 +43,7 @@ impl<'a> DOMRectListMethods for JSRef<'a, DOMRectList> {
fn Item(self, index: u32) -> Option<Temporary<DOMRect>> {
let rects = &self.rects;
if index < rects.len() as u32 {
- Some(Temporary::new(rects[index as uint].clone()))
+ Some(Temporary::new(rects[index as usize].clone()))
} else {
None
}