From 13113391a08161a3e9583e47f98da23bd9cf2445 Mon Sep 17 00:00:00 2001 From: Dimitri Merejkowsky Date: Tue, 28 Aug 2018 11:06:40 +0200 Subject: Fix typo in comment --- src/libstd/sys/unix/fd.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/sys') diff --git a/src/libstd/sys/unix/fd.rs b/src/libstd/sys/unix/fd.rs index 4830e38d6a9..12e14734ff5 100644 --- a/src/libstd/sys/unix/fd.rs +++ b/src/libstd/sys/unix/fd.rs @@ -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) }; } } -- cgit 1.4.1-3-g733a5