chore: temporarily allow clippy through

.
This commit is contained in:
oomeow 2026-03-22 22:09:06 +08:00
parent c92d1ac86e
commit 313ea520a5
No known key found for this signature in database
GPG Key ID: B7BC3926B326F37B

View File

@ -34,6 +34,7 @@ type ProxyMenuItem = (Option<Submenu<Wry>>, Vec<Box<dyn IsMenuItem<Wry>>>);
const TRAY_CLICK_DEBOUNCE_MS: u64 = 300;
#[allow(dead_code)]
struct TrayState {
menu_texts: MenuTexts,
submenu_for_mode: bool,
@ -163,6 +164,7 @@ pub struct Tray {
singleton!(Tray, TRAY);
impl Tray {
#[allow(clippy::unwrap_used)]
fn new() -> Self {
let app_handle = handle::Handle::app_handle();
let mut state = TrayState::new();