Replace uint/int by usize/isize in various places.

This commit is contained in:
Ms2ger 2015-02-20 14:43:29 +01:00
parent 9c863a6bd4
commit 6d30ec77c8
14 changed files with 36 additions and 34 deletions

View file

@ -34,7 +34,7 @@ impl ByteString {
}
/// Returns the length.
pub fn len(&self) -> uint {
pub fn len(&self) -> usize {
let ByteString(ref vector) = *self;
vector.len()
}