Skip to content

Commit 455a960

Browse files
committed
Fix typo in std/src/os/fd/owned.rs
1 parent b9535c0 commit 455a960

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)