Rollup merge of #110154 - DaniPopes:library-typos, r=JohnTitor

Fix typos in library

I ran [`typos -w library`](https://github.com/crate-ci/typos) to fix typos in the `library` directory.

Refs #110150
This commit is contained in:
Matthias Krüger
2023-04-14 21:11:12 +02:00
committed by GitHub
7 changed files with 11 additions and 11 deletions

View File

@@ -1893,7 +1893,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))