Mass rename uint/int to usize/isize
Now that support has been removed, all lingering use cases are renamed.
This commit is contained in:
parent
54f16b818b
commit
43bfaa4a33
1391 changed files with 5180 additions and 5238 deletions
|
@ -33,7 +33,7 @@ pub struct Toc {
|
|||
}
|
||||
|
||||
impl Toc {
|
||||
fn count_entries_with_level(&self, level: u32) -> uint {
|
||||
fn count_entries_with_level(&self, level: u32) -> usize {
|
||||
self.entries.iter().filter(|e| e.level == level).count()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue