diff --git a/components/layout/flow_list.rs b/components/layout/flow_list.rs index 20c69b6081c..ea11b545dac 100644 --- a/components/layout/flow_list.rs +++ b/components/layout/flow_list.rs @@ -102,7 +102,7 @@ impl FlowList { /// O(1) #[inline] - pub fn len(&self) -> uint { + pub fn len(&self) -> usize { self.flows.len() } } @@ -115,7 +115,7 @@ impl<'a> Iterator for FlowListIterator<'a> { } #[inline] - fn size_hint(&self) -> (uint, Option) { + fn size_hint(&self) -> (usize, Option) { self.it.size_hint() } } @@ -128,7 +128,7 @@ impl<'a> Iterator for MutFlowListIterator<'a> { } #[inline] - fn size_hint(&self) -> (uint, Option) { + fn size_hint(&self) -> (usize, Option) { self.it.size_hint() } }