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:
@@ -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))
|
||||
|
||||
@@ -12,7 +12,7 @@ pub const ERROR_RESOURCE_CALL_TIMED_OUT: DWORD = 5910;
|
||||
pub const FRS_ERR_SYSVOL_POPULATE_TIMEOUT: DWORD = 8014;
|
||||
pub const DNS_ERROR_RECORD_TIMED_OUT: DWORD = 9705;
|
||||
|
||||
// The followiung list was obtained from
|
||||
// The following list was obtained from
|
||||
// `/usr/x86_64-w64-mingw32/include/winerror.h`
|
||||
// in the Debian package
|
||||
// mingw-w64_6.0.0-3_all.deb
|
||||
|
||||
@@ -79,7 +79,7 @@ impl Parker {
|
||||
park_timeout(dur, self.state.as_ptr().addr());
|
||||
// Swap to ensure that we observe all state changes with acquire
|
||||
// ordering, even if the state has been changed after the timeout
|
||||
// occured.
|
||||
// occurred.
|
||||
self.state.swap(EMPTY, Acquire);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user