From 588143149c37e6eef95d14662c6b48b3bfbfbf12 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Thu, 2 Apr 2015 14:55:25 +0200 Subject: [PATCH] Use u32 for ImmutableFlowUtils::dump_with_level. --- components/layout/flow.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/layout/flow.rs b/components/layout/flow.rs index 74d3100f1f2..a4ea7f884d0 100644 --- a/components/layout/flow.rs +++ b/components/layout/flow.rs @@ -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("| ")