From 8a6ba7fc4c2126abb8ad244effe4757c084f6862 Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Sat, 18 Jan 2025 17:10:51 -0600 Subject: [PATCH] Silence unused_imports on newer compilers --- src/input.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/input.rs b/src/input.rs index a55154205..56cb365e1 100644 --- a/src/input.rs +++ b/src/input.rs @@ -3,6 +3,8 @@ use crate::curses; use crate::env::{Environment, CURSES_INITIALIZED}; use crate::event; use crate::flog::FLOG; +// Polyfill for Option::is_none_or(), stabilized in 1.82.0 +#[allow(unused_imports)] use crate::future::IsSomeAnd; use crate::input_common::CursorPositionBlockingWait::MouseLeft; use crate::input_common::{