about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/std/src/fs.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/fs.rs b/library/std/src/fs.rs
index 14e6ee46797..22aa4dfcc77 100644
--- a/library/std/src/fs.rs
+++ b/library/std/src/fs.rs
@@ -1990,7 +1990,7 @@ impl AsInner<fs_imp::DirEntry> for DirEntry {
 /// * The user lacks permissions to remove the file.
 ///
 /// This function will only ever return an error of kind `NotFound` if the given
-/// path does not exist.  Note that the inverse is not true,
+/// path does not exist. Note that the inverse is not true,
 /// ie. if a path does not exist, its removal may fail for a number of reasons,
 /// such as insufficient permissions.
 ///
@@ -2452,7 +2452,7 @@ pub fn create_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> {
 /// * The directory isn't empty.
 ///
 /// This function will only ever return an error of kind `NotFound` if the given
-/// path does not exist.  Note that the inverse is not true,
+/// path does not exist. Note that the inverse is not true,
 /// ie. if a path does not exist, its removal may fail for a number of reasons,
 /// such as insufficient permissions.
 ///