From d6cf627f9c6ba969e5bbf8e2c5dc6f0bcc9defbe Mon Sep 17 00:00:00 2001 From: ShootingStarDragons Date: Mon, 5 Aug 2024 00:09:42 +0859 Subject: [PATCH] chore: fix clippy problem --- sessionlockev/examples/simplelock.rs | 2 +- sessionlockev/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sessionlockev/examples/simplelock.rs b/sessionlockev/examples/simplelock.rs index e9ce64f..8999e8d 100644 --- a/sessionlockev/examples/simplelock.rs +++ b/sessionlockev/examples/simplelock.rs @@ -6,7 +6,7 @@ use sessionlockev::reexport::*; use sessionlockev::*; fn main() { - let mut ev: WindowState<()> = WindowState::new().build().unwrap(); + let ev: WindowState<()> = WindowState::new().build().unwrap(); let mut virtual_keyboard_manager = None; ev.running(|event, _ev, _index| { diff --git a/sessionlockev/src/lib.rs b/sessionlockev/src/lib.rs index c3a56d5..38baa71 100644 --- a/sessionlockev/src/lib.rs +++ b/sessionlockev/src/lib.rs @@ -13,7 +13,7 @@ //! const ESC_KEY: u32 = 1; //! //! fn main() { -//! let mut ev: WindowState<()> = WindowState::new(); +//! let ev: WindowState<()> = WindowState::new(); //! //! let mut virtual_keyboard_manager = None; //! ev.running(|event, _ev, _index| {