From 97a693308afd2f2dba16f11910f2a81388b0249d Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Tue, 3 Feb 2015 15:26:30 +0530 Subject: [PATCH] Add #[unstable] to HashState and DefaultState (fixes #21883) --- src/libstd/collections/hash/state.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libstd/collections/hash/state.rs b/src/libstd/collections/hash/state.rs index ffbc958f179f5..79e01304fb8c0 100644 --- a/src/libstd/collections/hash/state.rs +++ b/src/libstd/collections/hash/state.rs @@ -24,6 +24,7 @@ use hash; /// algorithm can implement the `Default` trait and create hash maps with the /// `DefaultState` structure. This state is 0-sized and will simply delegate /// to `Default` when asked to create a hasher. +#[unstable(feature = "std_misc", reason = "hasher stuff is unclear")] pub trait HashState { type Hasher: hash::Hasher; @@ -35,6 +36,7 @@ pub trait HashState { /// default trait. /// /// This struct has is 0-sized and does not need construction. +#[unstable(feature = "std_misc", reason = "hasher stuff is unclear")] pub struct DefaultState; impl HashState for DefaultState {