about summary refs log tree commit diff
path: root/src/libstd/io/native/process.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/io/native/process.rs')
-rw-r--r--src/libstd/io/native/process.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/io/native/process.rs b/src/libstd/io/native/process.rs
index 038b6ec0ff2..1b614852737 100644
--- a/src/libstd/io/native/process.rs
+++ b/src/libstd/io/native/process.rs
@@ -129,7 +129,7 @@ impl rtio::RtioProcess for Process {
         // and we kill it, then on unix we might ending up killing a
         // newer process that happens to have the same (re-used) id
         match self.exit_code {
-            Some(*) => return Err(io::IoError {
+            Some(..) => return Err(io::IoError {
                 kind: io::OtherIoError,
                 desc: "can't kill an exited process",
                 detail: None,