about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2023-04-02 10:08:34 +0200
committerGitHub <noreply@github.com>2023-04-02 10:08:34 +0200
commit099f3469a9cc15fb7892a4cc1548f5ce150392c6 (patch)
tree60087df8085682a759295d3cebef8fd575b486e6
parenta38bdd44396dddecf2eb4c8d5ad1cb2d0209bf84 (diff)
parent455a9601da16a51d6e68d31145533fed5429c55b (diff)
downloadrust-099f3469a9cc15fb7892a4cc1548f5ce150392c6.tar.gz
rust-099f3469a9cc15fb7892a4cc1548f5ce150392c6.zip
Rollup merge of #109840 - taiki-e:typo, r=ChrisDenton
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()) }
     }