Skip to content

Commit

Permalink
native: Be more stringent about pattern matching
Browse files Browse the repository at this point in the history
Trying to avoid a wildcard where possible.
  • Loading branch information
alexcrichton committed Apr 16, 2014
1 parent c836ff4 commit 4ca7abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libnative/io/timer_unix.rs
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 4ca7abb

Please sign in to comment.