Skip to content

Commit 0efd350

Browse files
authored
Update fs.rs
1 parent 29fd958 commit 0efd350

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

library/std/src/fs.rs

-6
Original file line numberDiff line numberDiff line change
@@ -1951,7 +1951,6 @@ pub fn create_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
19511951
/// Ok(())
19521952
/// }
19531953
/// ```
1954-
#[doc(alias = "mkdir")]
19551954
#[stable(feature = "rust1", since = "1.0.0")]
19561955
pub fn create_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> {
19571956
DirBuilder::new().recursive(true).create(path.as_ref())
@@ -1987,9 +1986,7 @@ pub fn create_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> {
19871986
/// Ok(())
19881987
/// }
19891988
/// ```
1990-
#[doc(alias = "rm")]
19911989
#[doc(alias = "rmdir")]
1992-
#[doc(alias = "delete")]
19931990
#[stable(feature = "rust1", since = "1.0.0")]
19941991
pub fn remove_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
19951992
fs_imp::rmdir(path.as_ref())
@@ -2027,9 +2024,6 @@ pub fn remove_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
20272024
/// Ok(())
20282025
/// }
20292026
/// ```
2030-
#[doc(alias = "rm")]
2031-
#[doc(alias = "rmdir")]
2032-
#[doc(alias = "delete")]
20332027
#[stable(feature = "rust1", since = "1.0.0")]
20342028
pub fn remove_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> {
20352029
fs_imp::remove_dir_all(path.as_ref())

0 commit comments

Comments
 (0)