diff options
| author | bors <bors@rust-lang.org> | 2023-07-13 18:15:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-07-13 18:15:14 +0000 |
| commit | a161ab00dbf660dd587ee42a8c855bac94047ddb (patch) | |
| tree | e0615e207acf3fec0d089d1ec334e63c8bcb40cb /library/alloc/src/string.rs | |
| parent | 1b3e68692592d71938df8e7fd8e53fbe5e7ef58c (diff) | |
| parent | e8b0b1781d177ab4aa0dca80d3c648f47287d149 (diff) | |
| download | rust-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.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(); |
