about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorDimitri Merejkowsky <dimitri.merejkowsky@tanker.io>2018-08-28 11:06:40 +0200
committerDimitri Merejkowsky <dimitri.merejkowsky@tanker.io>2018-08-28 11:06:40 +0200
commit13113391a08161a3e9583e47f98da23bd9cf2445 (patch)
tree31f953a6d1976fada579a0db18ef6d7aedcd70c6 /src/libstd/sys
parent59e52b1b969545e6b7b8595913dc2e1a741d495d (diff)
downloadrust-13113391a08161a3e9583e47f98da23bd9cf2445.tar.gz
rust-13113391a08161a3e9583e47f98da23bd9cf2445.zip
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) };
     }
 }