fix warnings (not 55 errors)

This commit is contained in:
🪞👃🪞 2024-06-20 18:42:08 +03:00
parent a50e022ab6
commit 87c5e47b43
8 changed files with 290 additions and 269 deletions

View file

@ -21,7 +21,7 @@ use crossterm::event;
pub fn run (device: impl Device + Send + Sync + 'static) -> Result<(), Box<dyn Error>> {
let device = Arc::new(Mutex::new(device));
let exited = Arc::new(AtomicBool::new(false));
let input_thread = {
let _input_thread = {
let poll = std::time::Duration::from_millis(100);
let exited = exited.clone();
let device = device.clone();