Skip to content

Commit 4ca7abb

Browse files
committed
native: Be more stringent about pattern matching
Trying to avoid a wildcard where possible.
1 parent c836ff4 commit 4ca7abb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libnative/io/timer_unix.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ fn helper(input: libc::c_int, messages: Receiver<Req>) {
182182
let t = active.remove(i).unwrap();
183183
ack.send(t);
184184
}
185-
_ => break
185+
Err(..) => break
186186
}
187187
}
188188

0 commit comments

Comments
 (0)