From 15386dcb6eb7dde8491f4c06387bc0eefbe8f26f Mon Sep 17 00:00:00 2001 From: julio Date: Sat, 30 Apr 2022 11:02:22 -0700 Subject: [PATCH] add aliases for std::fs::canonicalize --- library/std/src/fs.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/std/src/fs.rs b/library/std/src/fs.rs index 433b4d53013..369a251696e 100644 --- a/library/std/src/fs.rs +++ b/library/std/src/fs.rs @@ -1930,6 +1930,8 @@ pub fn read_link>(path: P) -> io::Result { /// Ok(()) /// } /// ``` +#[doc(alias = "realpath")] +#[doc(alias = "GetFinalPathNameByHandle")] #[stable(feature = "fs_canonicalize", since = "1.5.0")] pub fn canonicalize>(path: P) -> io::Result { fs_imp::canonicalize(path.as_ref())