summary refs log tree commit diff
path: root/library/alloc/src/string.rs
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2023-07-10 10:41:13 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2023-07-12 21:24:05 -0400
commit0d93d787ba60704228787dbb035d007f29990293 (patch)
tree648e9e8d22f720444b162407873b05ada483470c /library/alloc/src/string.rs
parent33a2c2487ac5d9927830ea4c1844335c6b9f77db (diff)
downloadrust-0d93d787ba60704228787dbb035d007f29990293.tar.gz
rust-0d93d787ba60704228787dbb035d007f29990293.zip
Replace version placeholder to 1.72
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();