Stop using the deprecated range function.

This commit is contained in:
Ms2ger 2015-04-22 19:51:17 +02:00
parent c4b7979450
commit 4d41f1c991
17 changed files with 27 additions and 28 deletions

View file

@ -1130,7 +1130,7 @@ impl DisplayItem {
pub fn debug_with_level(&self, level: u32) {
let mut indent = String::new();
for _ in range(0, level) {
for _ in 0..level {
indent.push_str("| ")
}
println!("{}+ {:?}", indent, self);