Use u32 for ImmutableFlowUtils::dump_with_level.

This commit is contained in:
Ms2ger 2015-04-02 14:55:25 +02:00
parent a0ad6ba2d4
commit 588143149c

View file

@ -409,7 +409,7 @@ pub trait ImmutableFlowUtils {
fn dump(self);
/// Dumps the flow tree for debugging, with a prefix to indicate that we're at the given level.
fn dump_with_level(self, level: uint);
fn dump_with_level(self, level: u32);
}
pub trait MutableFlowUtils {
@ -1195,7 +1195,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: uint) {
fn dump_with_level(self, level: u32) {
let mut indent = String::new();
for _ in range(0, level) {
indent.push_str("| ")