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| {