From b3aa1a6d4ac88f68e036a05fdf19be63b522b65d Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 8 Jul 2015 08:33:13 -0700 Subject: std: Deprecate a number of unstable features Many of these have long since reached their stage of being obsolete, so this commit starts the removal process for all of them. The unstable features that were deprecated are: * cmp_partial * fs_time * hash_default * int_slice * iter_min_max * iter_reset_fuse * iter_to_vec * map_in_place * move_from * owned_ascii_ext * page_size * read_and_zero * scan_state * slice_chars * slice_position_elem * subslice_offset --- src/libcore/hash/mod.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libcore/hash') diff --git a/src/libcore/hash/mod.rs b/src/libcore/hash/mod.rs index abf9e55a1f2..a660cf0cf2d 100644 --- a/src/libcore/hash/mod.rs +++ b/src/libcore/hash/mod.rs @@ -171,6 +171,8 @@ pub trait Hasher { #[unstable(feature = "hash_default", reason = "not the most ergonomic interface unless `H` is defaulted \ to SipHasher, but perhaps not ready to commit to that")] +#[deprecated(since = "1.3.0", + reason = "has yet to prove itself useful")] pub fn hash(value: &T) -> u64 { let mut h: H = Default::default(); value.hash(&mut h); -- cgit 1.4.1-3-g733a5