about summary refs log tree commit diff
path: root/library/std/src/path.rs
diff options
context:
space:
mode:
authorschvv31n <tim.kurdov@gmail.com>2025-03-04 21:29:45 +0000
committerDavid Tolnay <dtolnay@gmail.com>2025-06-06 12:06:42 -0700
commiteba3a6106728e131286e3751459fccd7594102ef (patch)
tree6eeda59c5e06d75f0de31cc91019b45a79fbec32 /library/std/src/path.rs
parent9f0e5d963d05ebcf7ae1ca1f4bda3668c702acda (diff)
downloadrust-eba3a6106728e131286e3751459fccd7594102ef.tar.gz
rust-eba3a6106728e131286e3751459fccd7594102ef.zip
Stabilised `os_string_pathbuf_leak`
Diffstat (limited to 'library/std/src/path.rs')
-rw-r--r--library/std/src/path.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/path.rs b/library/std/src/path.rs
index 014b56d28f4..826d9f0f39d 100644
--- a/library/std/src/path.rs
+++ b/library/std/src/path.rs
@@ -1252,7 +1252,7 @@ impl PathBuf {
     /// However, keep in mind that trimming the capacity may result in a reallocation and copy.
     ///
     /// [`into_boxed_path`]: Self::into_boxed_path
-    #[unstable(feature = "os_string_pathbuf_leak", issue = "125965")]
+    #[stable(feature = "os_string_pathbuf_leak", since = "CURRENT_RUSTC_VERSION")]
     #[inline]
     pub fn leak<'a>(self) -> &'a mut Path {
         Path::from_inner_mut(self.inner.leak())