Skip to content

Commit 1311339

Browse files
committed
Fix typo in comment
1 parent 59e52b1 commit 1311339

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sys/unix/fd.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ impl Drop for FileDesc {
282282
// reason for this is that if an error occurs we don't actually know if
283283
// the file descriptor was closed or not, and if we retried (for
284284
// something like EINTR), we might close another valid file descriptor
285-
// (opened after we closed ours.
285+
// opened after we closed ours.
286286
let _ = unsafe { libc::close(self.fd) };
287287
}
288288
}

0 commit comments

Comments
 (0)