From 78754eb2903b68ad58c69befe9cc3420425facac Mon Sep 17 00:00:00 2001 From: Fenrir Date: Tue, 7 Mar 2017 21:00:18 -0700 Subject: Add HashMap and HashSet --- ctr-std/src/collections/mod.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'ctr-std/src/collections/mod.rs') diff --git a/ctr-std/src/collections/mod.rs b/ctr-std/src/collections/mod.rs index 464ab25..b9e92a0 100644 --- a/ctr-std/src/collections/mod.rs +++ b/ctr-std/src/collections/mod.rs @@ -430,18 +430,17 @@ pub use core_collections::{binary_heap, btree_map, btree_set}; #[stable(feature = "rust1", since = "1.0.0")] pub use core_collections::{linked_list, vec_deque}; -#[cfg(feature = "not_yet_implemented")] +#[stable(feature = "rust1", since = "1.0.0")] pub use self::hash_map::HashMap; -#[cfg(feature = "not_yet_implemented")] +#[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; -#[cfg(feature = "not_yet_implemented")] mod hash; -#[cfg(feature = "not_yet_implemented")] +#[stable(feature = "rust1", since = "1.0.0")] pub mod hash_map { //! A hash map implementation which uses linear probing with Robin //! Hood bucket stealing. @@ -449,7 +448,7 @@ pub mod hash_map { pub use super::hash::map::*; } -#[cfg(feature = "not_yet_implemented")] +#[stable(feature = "rust1", since = "1.0.0")] pub mod hash_set { //! An implementation of a hash set using the underlying representation of a //! HashMap where the value is (). -- cgit v1.2.3