From 64f68fa668833a566f1f8f2148c99616468366ba Mon Sep 17 00:00:00 2001 From: extrawurst Date: Wed, 17 Aug 2022 16:55:29 +0200 Subject: [PATCH] remove old clippy ignores --- src/tabs/files.rs | 14 ++------------ 1 file 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, } }