fix nightly

This commit is contained in:
Stephan Dilly 2021-08-17 13:14:33 +02:00
parent 274dedb5e8
commit 55f224c5ca

View file

@ -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
{