diff options
| author | Fenrir <[email protected]> | 2017-03-07 21:00:18 -0700 |
|---|---|---|
| committer | Fenrir <[email protected]> | 2017-03-11 22:32:55 -0700 |
| commit | 78754eb2903b68ad58c69befe9cc3420425facac (patch) | |
| tree | b473518c4a7c99a51443abce9a86ba9fac04c8c3 /ctr-std/src/collections/mod.rs | |
| parent | Merge pull request #28 from FenrirWolf/fs (diff) | |
| download | ctru-rs-78754eb2903b68ad58c69befe9cc3420425facac.tar.xz ctru-rs-78754eb2903b68ad58c69befe9cc3420425facac.zip | |
Add HashMap and HashSet
Diffstat (limited to 'ctr-std/src/collections/mod.rs')
| -rw-r--r-- | ctr-std/src/collections/mod.rs | 9 |
1 files changed, 4 insertions, 5 deletions
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 (). |