diff options
| author | bors <bors@rust-lang.org> | 2023-04-02 09:39:41 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-04-02 09:39:41 +0000 |
| commit | 11cd4ff34db4dca57acd4782a78a5987bb153608 (patch) | |
| tree | ded564766541d2965fe2d424c789039ae0949600 /library/std/src | |
| parent | 637d7fdb2333dcd8eadaec2eb95273e7569c46cc (diff) | |
| parent | 59f394bf8645729a1ffdcbf04745e5566ea045c1 (diff) | |
| download | rust-11cd4ff34db4dca57acd4782a78a5987bb153608.tar.gz rust-11cd4ff34db4dca57acd4782a78a5987bb153608.zip | |
Auto merge of #109852 - Nilstrieb:rollup-g3mgxxw, r=Nilstrieb
Rollup of 4 pull requests Successful merges: - #109839 (Improve grammar of Iterator.partition_in_place) - #109840 (Fix typo in std/src/os/fd/owned.rs) - #109844 (a couple clippy::complexity fixes) - #109846 (more clippy::complexity fixes (iter_kv_map, map_flatten, nonminimal_bool)) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/os/fd/owned.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/os/fd/owned.rs b/library/std/src/os/fd/owned.rs index 99a4e0b5106..a40d39c5e44 100644 --- a/library/std/src/os/fd/owned.rs +++ b/library/std/src/os/fd/owned.rs @@ -268,7 +268,7 @@ impl AsFd for OwnedFd { #[inline] fn as_fd(&self) -> BorrowedFd<'_> { // Safety: `OwnedFd` and `BorrowedFd` have the same validity - // invariants, and the `BorrowdFd` is bounded by the lifetime + // invariants, and the `BorrowedFd` is bounded by the lifetime // of `&self`. unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) } } |
