mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 21:30:03 -04:00
Fixed an issue with the updated rust-cocoa crate
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
use events;
|
||||
use cocoa::base::NSUInteger;
|
||||
use cocoa::appkit;
|
||||
|
||||
pub fn vkeycode_to_element(code: u16) -> Option<events::VirtualKeyCode> {
|
||||
Some(match code {
|
||||
|
||||
Reference in New Issue
Block a user