Skip to content

Commit

Permalink
Merge pull request #2 from rrokkam/master
Browse files Browse the repository at this point in the history
Event::none creates an event that is not readable or writable
  • Loading branch information
Stjepan Glavina authored Aug 6, 2020
2 parents d763bb2 + 8e3a332 commit 3fe396c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ impl Event {
pub fn none(key: usize) -> Event {
Event {
key,
readable: true,
writable: true,
readable: false,
writable: false,
}
}
}
Expand Down

0 comments on commit 3fe396c

Please sign in to comment.