Allow a couple clippy lints
This commit is contained in:
parent
392adda651
commit
5cb9f6eb09
1 changed files with 2 additions and 0 deletions
|
|
@ -70,6 +70,7 @@ pub struct Args {}
|
|||
#[derive(Default, Debug, Clone)]
|
||||
pub struct WorkspaceCommands;
|
||||
|
||||
#[allow(clippy::to_string_trait_impl)]
|
||||
impl ToString for WorkspaceCommands {
|
||||
fn to_string(&self) -> String {
|
||||
String::new()
|
||||
|
|
@ -419,6 +420,7 @@ impl Application for App {
|
|||
));
|
||||
|
||||
// XXX efficiency
|
||||
#[allow(clippy::mutable_key_type)]
|
||||
let img_for_output = old_workspaces
|
||||
.iter()
|
||||
.find(|i| i.handle == workspace.handle)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue