We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 594dd12 commit 64f68faCopy full SHA for 64f68fa
src/tabs/files.rs
@@ -1,9 +1,3 @@
1
-#![allow(
2
- dead_code,
3
- clippy::missing_const_for_fn,
4
- clippy::unused_self
5
-)]
6
-
7
use std::path::PathBuf;
8
9
use crate::{
@@ -23,8 +17,6 @@ use crossbeam_channel::Sender;
23
17
pub struct FilesTab {
24
18
repo: RepoPathRef,
25
19
visible: bool,
26
- theme: SharedTheme,
27
- key_config: SharedKeyConfig,
28
20
files: RevisionFilesComponent,
29
21
}
30
22
@@ -43,11 +35,9 @@ impl FilesTab {
43
35
repo.clone(),
44
36
queue,
45
37
sender,
46
- theme.clone(),
47
- key_config.clone(),
38
+ theme,
39
+ key_config,
48
40
),
49
- theme,
50
- key_config,
51
41
repo,
52
42
53
0 commit comments