mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Use u32 for ImmutableFlowUtils::dump_with_level.
This commit is contained in:
parent
a0ad6ba2d4
commit
588143149c
1 changed files with 2 additions and 2 deletions
|
@ -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("| ")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue