Skip to content

Commit

Permalink
Upgrade to bit-set 0.4 and lazy_static 0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrubeck authored and BurntSushi committed Jan 4, 2017
1 parent 79e002a commit b0ea274
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ keywords = ["os", "signal", "channel", "select"]
license = "Unlicense/MIT"

[dependencies]
bit-set = "0.2.0"
bit-set = "0.4"
chan = "0.1"
lazy_static = "0.1"
lazy_static = "0.2"
libc = "0.2"
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ fn init() {
let sig = listen.wait().unwrap();
let subs = HANDLERS.lock().unwrap();
for (s, sigs) in subs.iter() {
if !sigs.contains(&(sig as usize)) {
if !sigs.contains(sig as usize) {
continue;
}
chan_select! {
Expand Down

0 comments on commit b0ea274

Please sign in to comment.