Skip to content

Commit 33f2754

Browse files
authored
Added Hash derive to Key (#156)
1 parent 560342b commit 33f2754

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/kb.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/// This is an incomplete mapping of keys that are supported for reading
44
/// from the keyboard.
55
#[non_exhaustive]
6-
#[derive(Clone, PartialEq, Eq, Debug)]
6+
#[derive(Clone, PartialEq, Eq, Debug, Hash)]
77
pub enum Key {
88
Unknown,
99
/// Unrecognized sequence containing Esc and a list of chars

0 commit comments

Comments
 (0)