about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTaiki Endo <te316e89@gmail.com>2023-04-02 02:14:37 +0900
committerTaiki Endo <te316e89@gmail.com>2023-04-02 02:14:37 +0900
commit455a9601da16a51d6e68d31145533fed5429c55b (patch)
treec7e34d1b896f16e299f004047c4ddabd567a12eb
parentb9535c0b7d64290b27c4a116262402cd12f77833 (diff)
downloadrust-455a9601da16a51d6e68d31145533fed5429c55b.tar.gz
rust-455a9601da16a51d6e68d31145533fed5429c55b.zip
Fix typo in std/src/os/fd/owned.rs
-rw-r--r--library/std/src/os/fd/owned.rs2
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()) }
     }