about summary refs log tree commit diff
path: root/library/std/src/collections
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2025-01-06 20:28:08 +0100
committerPietro Albini <pietro@pietroalbini.org>2025-01-08 20:02:18 +0100
commit4ae92b7adbafd018bf0c829a4691ffbb3933d8f0 (patch)
tree31d6f0fb67aca34f04bbf65a9b4ef57bc454e62f /library/std/src/collections
parent6afee111c2faf86ba884ea748967130abad37b52 (diff)
update version placeholders
Diffstat (limited to 'library/std/src/collections')
-rw-r--r--library/std/src/collections/hash/map.rs2
-rw-r--r--library/std/src/collections/hash/set.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/collections/hash/map.rs b/library/std/src/collections/hash/map.rs
index 56d734ba2fb..f7d2eec9074 100644
--- a/library/std/src/collections/hash/map.rs
+++ b/library/std/src/collections/hash/map.rs
@@ -298,7 +298,7 @@ impl<K, V, S> HashMap<K, V, S> {
     #[stable(feature = "hashmap_build_hasher", since = "1.7.0")]
     #[rustc_const_stable(
         feature = "const_collections_with_hasher",
-        since = "CURRENT_RUSTC_VERSION"
+        since = "1.85.0"
     )]
     pub const fn with_hasher(hash_builder: S) -> HashMap<K, V, S> {
         HashMap { base: base::HashMap::with_hasher(hash_builder) }
diff --git a/library/std/src/collections/hash/set.rs b/library/std/src/collections/hash/set.rs
index bcf6d6b4ccf..c1b794c58f1 100644
--- a/library/std/src/collections/hash/set.rs
+++ b/library/std/src/collections/hash/set.rs
@@ -390,7 +390,7 @@ impl<T, S> HashSet<T, S> {
     #[stable(feature = "hashmap_build_hasher", since = "1.7.0")]
     #[rustc_const_stable(
         feature = "const_collections_with_hasher",
-        since = "CURRENT_RUSTC_VERSION"
+        since = "1.85.0"
     )]
     pub const fn with_hasher(hasher: S) -> HashSet<T, S> {
         HashSet { base: base::HashSet::with_hasher(hasher) }