about summary refs log tree commit diff
path: root/library/alloc/src/string.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-13 18:15:14 +0000
committerbors <bors@rust-lang.org>2023-07-13 18:15:14 +0000
commita161ab00dbf660dd587ee42a8c855bac94047ddb (patch)
treee0615e207acf3fec0d089d1ec334e63c8bcb40cb /library/alloc/src/string.rs
parent1b3e68692592d71938df8e7fd8e53fbe5e7ef58c (diff)
parente8b0b1781d177ab4aa0dca80d3c648f47287d149 (diff)
downloadrust-a161ab00dbf660dd587ee42a8c855bac94047ddb.tar.gz
rust-a161ab00dbf660dd587ee42a8c855bac94047ddb.zip
Auto merge of #113637 - Mark-Simulacrum:bootstrap-bump, r=ozkanonur
Bump bootstrap to 1.72 beta
Diffstat (limited to 'library/alloc/src/string.rs')
-rw-r--r--library/alloc/src/string.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/string.rs b/library/alloc/src/string.rs
index 1c6815fa941..ad7b77f5497 100644
--- a/library/alloc/src/string.rs
+++ b/library/alloc/src/string.rs
@@ -1873,7 +1873,7 @@ impl String {
     /// let static_ref: &'static mut str = x.leak();
     /// assert_eq!(static_ref, "bucket");
     /// ```
-    #[stable(feature = "string_leak", since = "CURRENT_RUSTC_VERSION")]
+    #[stable(feature = "string_leak", since = "1.72.0")]
     #[inline]
     pub fn leak<'a>(self) -> &'a mut str {
         let slice = self.vec.leak();