diff options
| author | bors <bors@rust-lang.org> | 2018-05-01 10:10:46 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-05-01 10:10:46 +0000 |
| commit | a4a79472598e24a60301fb99f27dc688cc365d5a (patch) | |
| tree | fe68f488a9b19bccc2845870fe40286543c6aaa0 /src/liballoc | |
| parent | 0eb68b797b2d2d2ae20093b824f69fe817c96ed1 (diff) | |
| parent | f70b2ebd08f47c504681ca5f62c3ccdacdd69763 (diff) | |
| download | rust-a4a79472598e24a60301fb99f27dc688cc365d5a.tar.gz rust-a4a79472598e24a60301fb99f27dc688cc365d5a.zip | |
Auto merge of #49724 - kennytm:range-inc-start-end-methods, r=Kimundi
Introduce RangeInclusive::{new, start, end} methods and make the fields private.
cc #49022
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/lib.rs | 2 | ||||
| -rw-r--r-- | src/liballoc/tests/lib.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs index 881607f65ba..da4b76a4d52 100644 --- a/src/liballoc/lib.rs +++ b/src/liballoc/lib.rs @@ -122,7 +122,7 @@ #![feature(on_unimplemented)] #![feature(exact_chunks)] #![feature(pointer_methods)] -#![feature(inclusive_range_fields)] +#![feature(inclusive_range_methods)] #![cfg_attr(stage0, feature(generic_param_attrs))] #![feature(rustc_const_unstable)] 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; |
