From 12a6ecb9f78c4dda0a273686fa8aca5e75993551 Mon Sep 17 00:00:00 2001 From: extrawurst Date: Sat, 20 Aug 2022 15:12:06 +0200 Subject: [PATCH 1/2] remove another clippy workaround --- src/ui/style.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ui/style.rs b/src/ui/style.rs index 7579c9db..fdc2d95f 100644 --- a/src/ui/style.rs +++ b/src/ui/style.rs @@ -1,6 +1,3 @@ -//TODO: remove once fixed https://github.com/rust-lang/rust-clippy/issues/6818 -#![allow(clippy::use_self)] - use anyhow::Result; use asyncgit::{DiffLineType, StatusItemType}; use ron::{ From 200563aa5873ed753ae41aa610a1ac8f670c1523 Mon Sep 17 00:00:00 2001 From: extrawurst Date: Sat, 20 Aug 2022 15:13:34 +0200 Subject: [PATCH 2/2] remove another clippy ignore --- src/components/status_tree.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/status_tree.rs b/src/components/status_tree.rs index f96e3fdc..67e84496 100644 --- a/src/components/status_tree.rs +++ b/src/components/status_tree.rs @@ -264,8 +264,6 @@ impl StatusTreeComponent { should_skip_over += 1; // don't fold files up - //TODO: remove once fixed (https://github.com/rust-lang/rust-clippy/issues/7383) - #[allow(clippy::if_same_then_else)] if let FileTreeItemKind::File(_) = &tree_items[idx_temp].kind {