File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ extern crate pc_keyboard;
2121use pc_keyboard :: {Keyboard , layouts, ScancodeSet2 , HandleControl };
2222
2323fn main () {
24- let mut kb = pc_keyboard :: Keyboard :: new ( layouts :: Us104Key , ScancodeSet2 , HandleControl :: MapLettersToUnicode );
24+ let mut kb : Keyboard < layouts :: Us104Key , ScancodeSet2 > = Keyboard :: new ( HandleControl :: MapLettersToUnicode );
2525 match kb . add_byte (0x20 ) {
2626 Ok (Some (event )) => {
2727 println! (" Event {:?}" , event );
@@ -42,6 +42,10 @@ fn main() {
4242
4343This crate is guaranteed to compile on stable Rust 1.61 and up. It might compile with older versions but that may change in any new patch release.
4444
45+ ## Changelog
46+
47+ There is a changelog in [ CHANGELOG.md] .
48+
4549## License
4650
4751Licensed under either of
You can’t perform that action at this time.
0 commit comments