Skip to content

Commit

Permalink
app-list: clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Drakulix committed Feb 1, 2024
1 parent dfd863c commit 89986d8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions cosmic-app-list/src/wayland_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,6 @@ pub(crate) fn wayland_handler(
let manager = &state.toplevel_manager_state.manager;
manager.close(&handle);
}
ToplevelRequest::Exit => {
state.exit = true;
}
},
WaylandRequest::TokenRequest {
app_id,
Expand Down
3 changes: 1 addition & 2 deletions cosmic-app-list/src/wayland_subscription.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use futures::{
SinkExt, StreamExt,
};
use once_cell::sync::Lazy;
use std::{fmt::Debug, hash::Hash, thread::JoinHandle};
use std::fmt::Debug;
use tokio::sync::Mutex;

use crate::wayland_handler::wayland_handler;
Expand Down Expand Up @@ -107,5 +107,4 @@ pub enum WaylandRequest {
pub enum ToplevelRequest {
Activate(ZcosmicToplevelHandleV1),
Quit(ZcosmicToplevelHandleV1),
Exit,
}

0 comments on commit 89986d8

Please sign in to comment.