Skip to content

Commit 64f68fa

Browse files
committed
remove old clippy ignores
1 parent 594dd12 commit 64f68fa

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

src/tabs/files.rs

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
#![allow(
2-
dead_code,
3-
clippy::missing_const_for_fn,
4-
clippy::unused_self
5-
)]
6-
71
use std::path::PathBuf;
82

93
use crate::{
@@ -23,8 +17,6 @@ use crossbeam_channel::Sender;
2317
pub struct FilesTab {
2418
repo: RepoPathRef,
2519
visible: bool,
26-
theme: SharedTheme,
27-
key_config: SharedKeyConfig,
2820
files: RevisionFilesComponent,
2921
}
3022

@@ -43,11 +35,9 @@ impl FilesTab {
4335
repo.clone(),
4436
queue,
4537
sender,
46-
theme.clone(),
47-
key_config.clone(),
38+
theme,
39+
key_config,
4840
),
49-
theme,
50-
key_config,
5141
repo,
5242
}
5343
}

0 commit comments

Comments
 (0)