@@ -1468,7 +1468,6 @@ impl PathBuf {
1468
1468
/// # Examples
1469
1469
///
1470
1470
/// ```
1471
- /// #![feature(path_as_mut_os_str)]
1472
1471
/// use std::path::{Path, PathBuf};
1473
1472
///
1474
1473
/// let mut path = PathBuf::from("/foo");
@@ -1480,7 +1479,7 @@ impl PathBuf {
1480
1479
/// path.as_mut_os_string().push("baz");
1481
1480
/// assert_eq!(path, Path::new("/foo/barbaz"));
1482
1481
/// ```
1483
- #[ unstable ( feature = "path_as_mut_os_str" , issue = "105021 " ) ]
1482
+ #[ stable ( feature = "path_as_mut_os_str" , since = "CURRENT_RUSTC_VERSION " ) ]
1484
1483
#[ must_use]
1485
1484
#[ inline]
1486
1485
pub fn as_mut_os_string ( & mut self ) -> & mut OsString {
@@ -2036,7 +2035,6 @@ impl Path {
2036
2035
/// # Examples
2037
2036
///
2038
2037
/// ```
2039
- /// #![feature(path_as_mut_os_str)]
2040
2038
/// use std::path::{Path, PathBuf};
2041
2039
///
2042
2040
/// let mut path = PathBuf::from("Foo.TXT");
@@ -2046,7 +2044,7 @@ impl Path {
2046
2044
/// path.as_mut_os_str().make_ascii_lowercase();
2047
2045
/// assert_eq!(path, Path::new("foo.txt"));
2048
2046
/// ```
2049
- #[ unstable ( feature = "path_as_mut_os_str" , issue = "105021 " ) ]
2047
+ #[ stable ( feature = "path_as_mut_os_str" , since = "CURRENT_RUSTC_VERSION " ) ]
2050
2048
#[ must_use]
2051
2049
#[ inline]
2052
2050
pub fn as_mut_os_str ( & mut self ) -> & mut OsStr {
0 commit comments