]> git.lizzy.rs Git - rust.git/commitdiff
std::collections: Reexport libcollections's range module
authorUlrik Sverdrup <bluss@users.noreply.github.com>
Mon, 17 Oct 2016 19:26:29 +0000 (21:26 +0200)
committerUlrik Sverdrup <bluss@users.noreply.github.com>
Mon, 17 Oct 2016 19:26:29 +0000 (21:26 +0200)
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.

src/libstd/collections/mod.rs
src/libstd/lib.rs

index 9b13d54230078a8de6006c59864c5ee7f54f0143..504b3a76bd295be5152cc6a4c0adf1cd9e0e7f46 100644 (file)
 #[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")]
index c2f6a6f660c48c4971cd04b809d228a2417cda7f..71e0ab0388f5bbdd0cf77703d273750ddb491b84 100644 (file)
 #![feature(char_internals)]
 #![feature(collections)]
 #![feature(collections_bound)]
+#![feature(collections_range)]
 #![feature(compiler_builtins_lib)]
 #![feature(const_fn)]
 #![feature(core_float)]