mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 15:13:13 -04:00
Fix CI warnings (#1898)
* Fix CI warnings * Use the panic! macro rather than format! + panic_any
This commit is contained in:
@@ -245,6 +245,7 @@ impl<T: 'static> EventLoop<T> {
|
||||
KeyAction::Up => event::ElementState::Released,
|
||||
_ => event::ElementState::Released,
|
||||
};
|
||||
#[allow(deprecated)]
|
||||
let event = event::Event::WindowEvent {
|
||||
window_id,
|
||||
event: event::WindowEvent::KeyboardInput {
|
||||
|
||||
Reference in New Issue
Block a user