about summary refs log tree commit diff
path: root/library/std/src/sys/unix/fs.rs
diff options
context:
space:
mode:
authorDaniPopes <57450786+DaniPopes@users.noreply.github.com>2023-04-10 21:07:29 +0200
committerDaniPopes <57450786+DaniPopes@users.noreply.github.com>2023-04-10 21:07:29 +0200
commita0daf22b95ff1cd3f7ac55ea9370987535f3134d (patch)
treef8efc443c71e799ab49867ffbc3721a497b7c982 /library/std/src/sys/unix/fs.rs
parenta73288371e3fa0a610fbc11e7e8418017bdfde42 (diff)
downloadrust-a0daf22b95ff1cd3f7ac55ea9370987535f3134d.tar.gz
rust-a0daf22b95ff1cd3f7ac55ea9370987535f3134d.zip
Fix typos in library
Diffstat (limited to 'library/std/src/sys/unix/fs.rs')
-rw-r--r--library/std/src/sys/unix/fs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/fs.rs b/library/std/src/sys/unix/fs.rs
index 7566fafda24..b29a51f2192 100644
--- a/library/std/src/sys/unix/fs.rs
+++ b/library/std/src/sys/unix/fs.rs
@@ -1892,7 +1892,7 @@ mod remove_dir_impl {
         // file descriptor is automatically closed by libc::closedir() now, so give up ownership
         let new_parent_fd = dir_fd.into_raw_fd();
         // a valid root is not needed because we do not call any functions involving the full path
-        // of the DirEntrys.
+        // of the `DirEntry`s.
         let dummy_root = PathBuf::new();
         let inner = InnerReadDir { dirp, root: dummy_root };
         Ok((ReadDir::new(inner), new_parent_fd))