diff options
| author | kennytm <kennytm@gmail.com> | 2018-04-06 02:03:22 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2018-04-30 21:01:13 +0800 |
| commit | fba903a435ea6e0e3736541cb487586262835e48 (patch) | |
| tree | 6ce260eae5de518e942966cae3bb7f5371479153 /src/liballoc/tests | |
| parent | 64e6dda0bce96da47e52f7f3e278d05f7a09473c (diff) | |
| download | rust-fba903a435ea6e0e3736541cb487586262835e48.tar.gz rust-fba903a435ea6e0e3736541cb487586262835e48.zip | |
Make the fields of RangeInclusive private.
Added new()/start()/end() methods to RangeInclusive. Changed the lowering of `..=` to use RangeInclusive::new().
Diffstat (limited to 'src/liballoc/tests')
| -rw-r--r-- | src/liballoc/tests/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/tests/lib.rs b/src/liballoc/tests/lib.rs index 32272169307..1c8ff316e55 100644 --- a/src/liballoc/tests/lib.rs +++ b/src/liballoc/tests/lib.rs @@ -25,7 +25,7 @@ #![feature(try_reserve)] #![feature(unboxed_closures)] #![feature(exact_chunks)] -#![feature(inclusive_range_fields)] +#![feature(inclusive_range_methods)] extern crate alloc_system; extern crate core; |
