diff --git a/components/layout/floats.rs b/components/layout/floats.rs index 9c83322c1c7..736b311bd57 100644 --- a/components/layout/floats.rs +++ b/components/layout/floats.rs @@ -153,7 +153,7 @@ impl Floats { } } - pub fn len(&self) -> uint { + pub fn len(&self) -> usize { self.list.floats.len() }