about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2022-04-30 23:40:35 -0700
committerDavid Tolnay <dtolnay@gmail.com>2022-04-30 23:40:35 -0700
commit100006bec9262a3774bfeb34a7ac5867b422b896 (patch)
tree5f04363e102ecb04f666e53dbbdab01baa14c43a
parent594be707c43f626538ff11b22c35b858c3323cf2 (diff)
downloadrust-100006bec9262a3774bfeb34a7ac5867b422b896.tar.gz
rust-100006bec9262a3774bfeb34a7ac5867b422b896.zip
Bump shared_from_str to Rust 1.62.0
-rw-r--r--library/alloc/src/rc.rs2
-rw-r--r--library/alloc/src/sync.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/library/alloc/src/rc.rs b/library/alloc/src/rc.rs
index 488b74d388e..edc6883573e 100644
--- a/library/alloc/src/rc.rs
+++ b/library/alloc/src/rc.rs
@@ -1956,7 +1956,7 @@ where
     }
 }
 
-#[stable(feature = "shared_from_str", since = "1.61.0")]
+#[stable(feature = "shared_from_str", since = "1.62.0")]
 impl From<Rc<str>> for Rc<[u8]> {
     /// Converts a reference-counted string slice into a byte slice.
     ///
diff --git a/library/alloc/src/sync.rs b/library/alloc/src/sync.rs
index a8ed31b776b..1e2caddcacb 100644
--- a/library/alloc/src/sync.rs
+++ b/library/alloc/src/sync.rs
@@ -2556,7 +2556,7 @@ where
     }
 }
 
-#[stable(feature = "shared_from_str", since = "1.61.0")]
+#[stable(feature = "shared_from_str", since = "1.62.0")]
 impl From<Arc<str>> for Arc<[u8]> {
     /// Converts an atomically reference-counted string slice into a byte slice.
     ///