We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59e52b1 commit 1311339Copy full SHA for 1311339
src/libstd/sys/unix/fd.rs
@@ -282,7 +282,7 @@ impl Drop for FileDesc {
282
// reason for this is that if an error occurs we don't actually know if
283
// the file descriptor was closed or not, and if we retried (for
284
// something like EINTR), we might close another valid file descriptor
285
- // (opened after we closed ours.
+ // opened after we closed ours.
286
let _ = unsafe { libc::close(self.fd) };
287
}
288
0 commit comments