@@ -1498,7 +1498,6 @@ impl PathBuf {
1498
1498
/// # Examples
1499
1499
///
1500
1500
/// ```
1501
- /// #![feature(path_as_mut_os_str)]
1502
1501
/// use std::path::{Path, PathBuf};
1503
1502
///
1504
1503
/// let mut path = PathBuf::from("/foo");
@@ -1510,7 +1509,7 @@ impl PathBuf {
1510
1509
/// path.as_mut_os_string().push("baz");
1511
1510
/// assert_eq!(path, Path::new("/foo/barbaz"));
1512
1511
/// ```
1513
- #[ unstable ( feature = "path_as_mut_os_str" , issue = "105021 " ) ]
1512
+ #[ stable ( feature = "path_as_mut_os_str" , since = "CURRENT_RUSTC_VERSION " ) ]
1514
1513
#[ must_use]
1515
1514
#[ inline]
1516
1515
pub fn as_mut_os_string ( & mut self ) -> & mut OsString {
@@ -2066,7 +2065,6 @@ impl Path {
2066
2065
/// # Examples
2067
2066
///
2068
2067
/// ```
2069
- /// #![feature(path_as_mut_os_str)]
2070
2068
/// use std::path::{Path, PathBuf};
2071
2069
///
2072
2070
/// let mut path = PathBuf::from("Foo.TXT");
@@ -2076,7 +2074,7 @@ impl Path {
2076
2074
/// path.as_mut_os_str().make_ascii_lowercase();
2077
2075
/// assert_eq!(path, Path::new("foo.txt"));
2078
2076
/// ```
2079
- #[ unstable ( feature = "path_as_mut_os_str" , issue = "105021 " ) ]
2077
+ #[ stable ( feature = "path_as_mut_os_str" , since = "CURRENT_RUSTC_VERSION " ) ]
2080
2078
#[ must_use]
2081
2079
#[ inline]
2082
2080
pub fn as_mut_os_str ( & mut self ) -> & mut OsStr {
0 commit comments