Skip to content

Commit

Permalink
Event::none creates an event that is not readable or writable
Browse files Browse the repository at this point in the history
  • Loading branch information
rrokkam committed Aug 6, 2020
1 parent d763bb2 commit 8e3a332
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 8e3a332

Please sign in to comment.