We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9535c0 commit 455a960Copy full SHA for 455a960
library/std/src/os/fd/owned.rs
@@ -268,7 +268,7 @@ impl AsFd for OwnedFd {
268
#[inline]
269
fn as_fd(&self) -> BorrowedFd<'_> {
270
// Safety: `OwnedFd` and `BorrowedFd` have the same validity
271
- // invariants, and the `BorrowdFd` is bounded by the lifetime
+ // invariants, and the `BorrowedFd` is bounded by the lifetime
272
// of `&self`.
273
unsafe { BorrowedFd::borrow_raw(self.as_raw_fd()) }
274
}
0 commit comments