mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Use usize in flow_list.
This commit is contained in:
parent
7d0d851456
commit
e39c68e307
1 changed files with 3 additions and 3 deletions
|
@ -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<uint>) {
|
||||
fn size_hint(&self) -> (usize, Option<usize>) {
|
||||
self.it.size_hint()
|
||||
}
|
||||
}
|
||||
|
@ -128,7 +128,7 @@ impl<'a> Iterator for MutFlowListIterator<'a> {
|
|||
}
|
||||
|
||||
#[inline]
|
||||
fn size_hint(&self) -> (uint, Option<uint>) {
|
||||
fn size_hint(&self) -> (usize, Option<usize>) {
|
||||
self.it.size_hint()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue