Skip to content

Commit a1cfe19

Browse files
alexcrichtonManishearth
authored andcommitted
Mass rename uint/int to usize/isize
Now that support has been removed, all lingering use cases are renamed.
1 parent 35b4f0e commit a1cfe19

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

reference.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2440,9 +2440,6 @@ The currently implemented features of the reference compiler are:
24402440
* `intrinsics` - Allows use of the "rust-intrinsics" ABI. Compiler intrinsics
24412441
are inherently unstable and no promise about them is made.
24422442

2443-
* `int_uint` - Allows the use of the `int` and `uint` types, which are deprecated.
2444-
Use `isize` and `usize` instead.
2445-
24462443
* `lang_items` - Allows use of the `#[lang]` attribute. Like `intrinsics`,
24472444
lang items are inherently unstable and no promise about them
24482445
is made.
@@ -2759,7 +2756,7 @@ The following are examples of structure expressions:
27592756
```
27602757
# struct Point { x: f64, y: f64 }
27612758
# struct TuplePoint(f64, f64);
2762-
# mod game { pub struct User<'a> { pub name: &'a str, pub age: u32, pub score: uint } }
2759+
# mod game { pub struct User<'a> { pub name: &'a str, pub age: u32, pub score: usize } }
27632760
# struct Cookie; fn some_fn<T>(t: T) {}
27642761
Point {x: 10.0, y: 20.0};
27652762
TuplePoint(10.0, 20.0);
@@ -3402,7 +3399,7 @@ subpattern`. For example:
34023399
#![feature(box_patterns)]
34033400
#![feature(box_syntax)]
34043401
3405-
enum List { Nil, Cons(uint, Box<List>) }
3402+
enum List { Nil, Cons(u32, Box<List>) }
34063403
34073404
fn is_sorted(list: &List) -> bool {
34083405
match *list {

0 commit comments

Comments
 (0)