diff options
author | extrawurst <mail@rusticorn.com> | 2022-08-17 16:55:29 +0200 |
---|---|---|
committer | extrawurst <776816+extrawurst@users.noreply.github.com> | 2022-08-17 17:29:49 +0200 |
commit | 64f68fa668833a566f1f8f2148c99616468366ba (patch) | |
tree | 8e104376ad7dd09576c2ad5bdc54a9cd56663cd0 /src/tabs | |
parent | 594dd128644d52157b13acfe934064391f117cc2 (diff) |
remove old clippy ignores
Diffstat (limited to 'src/tabs')
-rw-r--r-- | src/tabs/files.rs | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/tabs/files.rs b/src/tabs/files.rs index 76a6f5df..812f4b8e 100644 --- a/src/tabs/files.rs +++ b/src/tabs/files.rs @@ -1,9 +1,3 @@ -#![allow( - dead_code, - clippy::missing_const_for_fn, - clippy::unused_self -)] - use std::path::PathBuf; use crate::{ @@ -23,8 +17,6 @@ use crossbeam_channel::Sender; pub struct FilesTab { repo: RepoPathRef, visible: bool, - theme: SharedTheme, - key_config: SharedKeyConfig, files: RevisionFilesComponent, } @@ -43,11 +35,9 @@ impl FilesTab { repo.clone(), queue, sender, - theme.clone(), - key_config.clone(), + theme, + key_config, ), - theme, - key_config, repo, } } |