diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-04-14 07:05:37 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-04-15 19:45:00 -0700 |
| commit | 4ca7abb1c4c76b4a23024baacdb7a023692c1d2d (patch) | |
| tree | e4edd162a8123f2eee35a00744a2ff50736d796f | |
| parent | c836ff46215b743c0f681d3e4d799cde1832cde3 (diff) | |
| download | rust-4ca7abb1c4c76b4a23024baacdb7a023692c1d2d.tar.gz rust-4ca7abb1c4c76b4a23024baacdb7a023692c1d2d.zip | |
native: Be more stringent about pattern matching
Trying to avoid a wildcard where possible.
| -rw-r--r-- | src/libnative/io/timer_unix.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnative/io/timer_unix.rs b/src/libnative/io/timer_unix.rs index 0444604d42a..0a38a6ff0be 100644 --- a/src/libnative/io/timer_unix.rs +++ b/src/libnative/io/timer_unix.rs @@ -182,7 +182,7 @@ fn helper(input: libc::c_int, messages: Receiver<Req>) { let t = active.remove(i).unwrap(); ack.send(t); } - _ => break + Err(..) => break } } |
