From 55f224c5cabad1d865eb439960ae7530714bc50d Mon Sep 17 00:00:00 2001 From: Stephan Dilly Date: Tue, 17 Aug 2021 13:14:33 +0200 Subject: [PATCH] fix nightly --- src/components/filetree.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/filetree.rs b/src/components/filetree.rs index fc8059bd..ba2a2f9c 100644 --- a/src/components/filetree.rs +++ b/src/components/filetree.rs @@ -262,6 +262,8 @@ impl FileTreeComponent { 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 {