We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a768b8c + 9e76169 commit d217644Copy full SHA for d217644
1 file changed
library/std/src/path.rs
@@ -1803,14 +1803,13 @@ impl PathBuf {
1803
/// # Examples
1804
///
1805
/// ```
1806
- /// #![feature(pathbuf_into_string)]
1807
/// use std::path::PathBuf;
1808
1809
/// let path_buf = PathBuf::from("foo");
1810
/// let string = path_buf.into_string();
1811
/// assert_eq!(string, Ok(String::from("foo")));
1812
1813
- #[unstable(feature = "pathbuf_into_string", issue = "156203")]
+ #[stable(feature = "pathbuf_into_string", since = "CURRENT_RUSTC_VERSION")]
1814
pub fn into_string(self) -> Result<String, PathBuf> {
1815
self.into_os_string().into_string().map_err(PathBuf::from)
1816
}
0 commit comments