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-10 10:41:13 -0400 |
| commit | 5aab48f3d2ed426521fec70b257f4fdb4de4f9ab (patch) | |
| tree | 850d484dbd4f12be958b609733ca7b4f528f6d06 /library/alloc/src/string.rs | |
| parent | 83964c156db1f444050a38b2498dbd0da6d5d503 (diff) | |
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(); |
