Skip to content

Commit ad241df

Browse files
authored
Rollup merge of #37236 - bluss:range-argument, r=alexcrichton
std::collections: Reexport libcollections's range module This is overdue, even if range and RangeArgument is still unstable. The stability attributes are the same ones as the other unstable item (Bound) here, they don't seem to matter.
2 parents 7343291 + 0a0efcb commit ad241df

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/libstd/collections/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,9 @@ pub use self::hash_map::HashMap;
425425
#[stable(feature = "rust1", since = "1.0.0")]
426426
pub use self::hash_set::HashSet;
427427

428+
#[stable(feature = "rust1", since = "1.0.0")]
429+
pub use core_collections::range;
430+
428431
mod hash;
429432

430433
#[stable(feature = "rust1", since = "1.0.0")]

src/libstd/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@
224224
#![feature(char_internals)]
225225
#![feature(collections)]
226226
#![feature(collections_bound)]
227+
#![feature(collections_range)]
227228
#![feature(compiler_builtins_lib)]
228229
#![feature(const_fn)]
229230
#![feature(core_float)]

0 commit comments

Comments
 (0)