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

@ -48,11 +48,11 @@
#![omit_gdb_pretty_printer_section]
struct Struct {
x: int
x: isize
}
trait Trait {
fn generic_static_default_method<T>(arg1: int, arg2: T) -> int {
fn generic_static_default_method<T>(arg1: isize, arg2: T) -> isize {
zzz(); // #break
arg1
}
@ -64,7 +64,7 @@ fn main() {
// Is this really how to use these?
Trait::generic_static_default_method::<Struct, float>(1000, 0.5);
Trait::generic_static_default_method::<Struct, &(int, int, int)>(2000, &(1, 2, 3));
Trait::generic_static_default_method::<Struct, &(isize, isize, isize)>(2000, &(1, 2, 3));
}