From 455a9601da16a51d6e68d31145533fed5429c55b Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sun, 2 Apr 2023 02:14:37 +0900 Subject: [PATCH] Fix typo in std/src/os/fd/owned.rs --- library/std/src/os/fd/owned.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) } }