File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -544,7 +544,7 @@ impl OsString {
544544 /// However, keep in mind that trimming the capacity may result in a reallocation and copy.
545545 ///
546546 /// [`into_boxed_os_str`]: Self::into_boxed_os_str
547- #[ unstable ( feature = "os_string_pathbuf_leak" , issue = "125965 " ) ]
547+ #[ stable ( feature = "os_string_pathbuf_leak" , since = "CURRENT_RUSTC_VERSION " ) ]
548548 #[ inline]
549549 pub fn leak < ' a > ( self ) -> & ' a mut OsStr {
550550 OsStr :: from_inner_mut ( self . inner . leak ( ) )
Original file line number Diff line number Diff line change @@ -1247,7 +1247,7 @@ impl PathBuf {
12471247 /// However, keep in mind that trimming the capacity may result in a reallocation and copy.
12481248 ///
12491249 /// [`into_boxed_path`]: Self::into_boxed_path
1250- #[ unstable ( feature = "os_string_pathbuf_leak" , issue = "125965 " ) ]
1250+ #[ stable ( feature = "os_string_pathbuf_leak" , since = "CURRENT_RUSTC_VERSION " ) ]
12511251 #[ inline]
12521252 pub fn leak < ' a > ( self ) -> & ' a mut Path {
12531253 Path :: from_inner_mut ( self . inner . leak ( ) )
Original file line number Diff line number Diff line change 33 path_add_extension,
44 path_file_prefix,
55 maybe_uninit_slice,
6- os_string_pathbuf_leak
76) ]
87
98use std:: clone:: CloneToUninit ;
You can’t perform that action at this time.
0 commit comments