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 aea2e44 + 0efd350 commit 609bed8Copy full SHA for 609bed8
library/std/src/fs.rs
@@ -1912,6 +1912,7 @@ pub fn canonicalize<P: AsRef<Path>>(path: P) -> io::Result<PathBuf> {
1912
/// Ok(())
1913
/// }
1914
/// ```
1915
+#[doc(alias = "mkdir")]
1916
#[stable(feature = "rust1", since = "1.0.0")]
1917
pub fn create_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
1918
DirBuilder::new().create(path.as_ref())
@@ -1991,6 +1992,7 @@ pub fn create_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> {
1991
1992
1993
1994
1995
+#[doc(alias = "rmdir")]
1996
1997
pub fn remove_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
1998
fs_imp::rmdir(path.as_ref())
0 commit comments