about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2018-08-30 20:15:43 +0200
committerGitHub <noreply@github.com>2018-08-30 20:15:43 +0200
commit11fab7db1d1bf9a90ac09454d35542e6b27506bd (patch)
tree6fe303ac38a5b332c6f3fc9023a8b5ac46b2e6db /src/libstd/sys
parentad9a0016a453902723c95943038f6843599eca02 (diff)
parent13113391a08161a3e9583e47f98da23bd9cf2445 (diff)
downloadrust-11fab7db1d1bf9a90ac09454d35542e6b27506bd.tar.gz
rust-11fab7db1d1bf9a90ac09454d35542e6b27506bd.zip
Rollup merge of #53756 - dmerejkowsky:fix-comment, r=KodrAus
Fix typo in comment
Diffstat (limited to 'src/libstd/sys')
-rw-r--r--src/libstd/sys/unix/fd.rs2
1 files changed, 1 insertions, 1 deletions
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) };
     }
 }