File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -3332,7 +3332,6 @@ impl Error for StripPrefixError {
33323332/// ## Posix paths
33333333///
33343334/// ```
3335- /// #![feature(absolute_path)]
33363335/// # #[cfg(unix)]
33373336/// fn main() -> std::io::Result<()> {
33383337/// use std::path::{self, Path};
@@ -3357,7 +3356,6 @@ impl Error for StripPrefixError {
33573356/// ## Windows paths
33583357///
33593358/// ```
3360- /// #![feature(absolute_path)]
33613359/// # #[cfg(windows)]
33623360/// fn main() -> std::io::Result<()> {
33633361/// use std::path::{self, Path};
@@ -3382,7 +3380,7 @@ impl Error for StripPrefixError {
33823380///
33833381/// [posix-semantics]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_13
33843382/// [windows-path]: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getfullpathnamew
3385- #[ unstable ( feature = "absolute_path" , issue = "92750 " ) ]
3383+ #[ stable ( feature = "absolute_path" , since = "CURRENT_RUSTC_VERSION " ) ]
33863384pub fn absolute < P : AsRef < Path > > ( path : P ) -> io:: Result < PathBuf > {
33873385 let path = path. as_ref ( ) ;
33883386 if path. as_os_str ( ) . is_empty ( ) {
You can’t perform that action at this time.
0 commit comments