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 {