mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Stop using the deprecated range function.
This commit is contained in:
parent
c4b7979450
commit
4d41f1c991
17 changed files with 27 additions and 28 deletions
|
@ -1199,7 +1199,7 @@ impl<'a> ImmutableFlowUtils for &'a (Flow + 'a) {
|
|||
/// Dumps the flow tree for debugging, with a prefix to indicate that we're at the given level.
|
||||
fn dump_with_level(self, level: u32) {
|
||||
let mut indent = String::new();
|
||||
for _ in range(0, level) {
|
||||
for _ in 0..level {
|
||||
indent.push_str("| ")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue