Skip to content

Commit

Permalink
Rollup merge of rust-lang#53756 - dmerejkowsky:fix-comment, r=KodrAus
Browse files Browse the repository at this point in the history
Fix typo in comment
  • Loading branch information
pietroalbini authored Aug 30, 2018
2 parents ad9a001 + 1311339 commit 11fab7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/sys/unix/fd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ impl Drop for FileDesc {
// reason for this is that if an error occurs we don't actually know if
// the file descriptor was closed or not, and if we retried (for
// something like EINTR), we might close another valid file descriptor
// (opened after we closed ours.
// opened after we closed ours.
let _ = unsafe { libc::close(self.fd) };
}
}

0 comments on commit 11fab7d

Please sign in to comment.