Mass rename uint/int to usize/isize

Now that support has been removed, all lingering use cases are renamed.
This commit is contained in:
Alex Crichton 2015-03-25 17:06:52 -07:00
parent 54f16b818b
commit 43bfaa4a33
1391 changed files with 5180 additions and 5238 deletions

View file

@ -98,7 +98,7 @@ impl<R: Read> BufRead for BufReader<R> {
self.buf.fill_buf()
}
fn consume(&mut self, amt: uint) {
fn consume(&mut self, amt: usize) {
self.buf.consume(amt)
}
}
@ -427,7 +427,7 @@ impl<S: Read + Write> BufStream<S> {
#[stable(feature = "rust1", since = "1.0.0")]
impl<S: Read + Write> BufRead for BufStream<S> {
fn fill_buf(&mut self) -> io::Result<&[u8]> { self.inner.fill_buf() }
fn consume(&mut self, amt: uint) { self.inner.consume(amt) }
fn consume(&mut self, amt: usize) { self.inner.consume(amt) }
}
#[stable(feature = "rust1", since = "1.0.0")]