Skip to content

Commit 15386dc

Browse files
committed
add aliases for std::fs::canonicalize
1 parent d201c81 commit 15386dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

library/std/src/fs.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1930,6 +1930,8 @@ pub fn read_link<P: AsRef<Path>>(path: P) -> io::Result<PathBuf> {
19301930
/// Ok(())
19311931
/// }
19321932
/// ```
1933+
#[doc(alias = "realpath")]
1934+
#[doc(alias = "GetFinalPathNameByHandle")]
19331935
#[stable(feature = "fs_canonicalize", since = "1.5.0")]
19341936
pub fn canonicalize<P: AsRef<Path>>(path: P) -> io::Result<PathBuf> {
19351937
fs_imp::canonicalize(path.as_ref())

0 commit comments

Comments
 (0)