Skip to content

Commit

Permalink
std::collections: Reexport libcollections's range module
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bluss committed Oct 17, 2016
1 parent da7f8c5 commit 0a0efcb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libstd/collections/mod.rs
Expand Up @@ -425,6 +425,9 @@ pub use self::hash_map::HashMap;
#[stable(feature = "rust1", since = "1.0.0")]
pub use self::hash_set::HashSet;

#[stable(feature = "rust1", since = "1.0.0")]
pub use core_collections::range;

mod hash;

#[stable(feature = "rust1", since = "1.0.0")]
Expand Down
1 change: 1 addition & 0 deletions src/libstd/lib.rs
Expand Up @@ -224,6 +224,7 @@
#![feature(char_internals)]
#![feature(collections)]
#![feature(collections_bound)]
#![feature(collections_range)]
#![feature(compiler_builtins_lib)]
#![feature(const_fn)]
#![feature(core_float)]
Expand Down

0 comments on commit 0a0efcb

Please sign in to comment.