diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2023-07-10 10:41:13 -0400 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2023-07-12 21:24:05 -0400 |
| commit | 0d93d787ba60704228787dbb035d007f29990293 (patch) | |
| tree | 648e9e8d22f720444b162407873b05ada483470c /library/alloc/src/string.rs | |
| parent | 33a2c2487ac5d9927830ea4c1844335c6b9f77db (diff) | |
| download | rust-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.rs | 2 |
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(); |
