about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-03-23 17:13:38 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-03-23 17:13:38 -0700
commit1588caca61a6476734b191dfab3fe16468abbfef (patch)
tree4751559fae08d3ae9b579e323362924143608f50 /src/libcore
parent7380b6ffc84a296a61fcc017e4c5135529bba2b3 (diff)
parentd97d53891dad8e723aed295af85029d5a741c1fd (diff)
downloadrust-1588caca61a6476734b191dfab3fe16468abbfef.tar.gz
rust-1588caca61a6476734b191dfab3fe16468abbfef.zip
rollup merge of #23652: alexcrichton/stabilize-hasher-finish
This commit enables writing a stable implementation of the `Hasher` trait as
well as actually calculating the hash of a vlaue in a stable fashion. The
signature is stabilized as-is.
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/hash/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/hash/mod.rs b/src/libcore/hash/mod.rs
index 3c5810fdf80..1d5e174a8dc 100644
--- a/src/libcore/hash/mod.rs
+++ b/src/libcore/hash/mod.rs
@@ -92,7 +92,7 @@ pub trait Hash {
 #[stable(feature = "rust1", since = "1.0.0")]
 pub trait Hasher {
     /// Completes a round of hashing, producing the output hash generated.
-    #[unstable(feature = "hash", reason = "module was recently redesigned")]
+    #[stable(feature = "rust1", since = "1.0.0")]
     fn finish(&self) -> u64;
 
     /// Writes some data into this `Hasher`