Mass rename uint/int to usize/isize
Now that support has been removed, all lingering use cases are renamed.
This commit is contained in:
parent
54f16b818b
commit
43bfaa4a33
1391 changed files with 5180 additions and 5238 deletions
|
|
@ -10,11 +10,11 @@
|
|||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
fn f(x: int) -> int { x }
|
||||
fn g(x: int) -> int { 2 * x }
|
||||
fn f(x: isize) -> isize { x }
|
||||
fn g(x: isize) -> isize { 2 * x }
|
||||
|
||||
static F: fn(int) -> int = f;
|
||||
static mut G: fn(int) -> int = f;
|
||||
static F: fn(isize) -> isize = f;
|
||||
static mut G: fn(isize) -> isize = f;
|
||||
|
||||
pub fn main() {
|
||||
assert_eq!(F(42), 42);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue