Skip to content

Commit 099f346

Browse files
authored
Rollup merge of #109840 - taiki-e:typo, r=ChrisDenton
Fix typo in std/src/os/fd/owned.rs
2 parents a38bdd4 + 455a960 commit 099f346

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/os/fd/owned.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ impl AsFd for OwnedFd {
268268
#[inline]
269269
fn as_fd(&self) -> BorrowedFd<'_> {
270270
// Safety: `OwnedFd` and `BorrowedFd` have the same validity
271-
// invariants, and the `BorrowdFd` is bounded by the lifetime
271+
// invariants, and the `BorrowedFd` is bounded by the lifetime
272272
// of `&self`.
273273
unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) }
274274
}

0 commit comments

Comments
 (0)