diff options
| author | Taiki Endo <te316e89@gmail.com> | 2023-04-02 02:14:37 +0900 |
|---|---|---|
| committer | Taiki Endo <te316e89@gmail.com> | 2023-04-02 02:14:37 +0900 |
| commit | 455a9601da16a51d6e68d31145533fed5429c55b (patch) | |
| tree | c7e34d1b896f16e299f004047c4ddabd567a12eb | |
| parent | b9535c0b7d64290b27c4a116262402cd12f77833 (diff) | |
| download | rust-455a9601da16a51d6e68d31145533fed5429c55b.tar.gz rust-455a9601da16a51d6e68d31145533fed5429c55b.zip | |
Fix typo in std/src/os/fd/owned.rs
| -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()) } } |
