From 78119aba0f75ab6f527c7049e190f61a24798991 Mon Sep 17 00:00:00 2001 From: "andy.boot" Date: Thu, 5 Dec 2019 21:50:26 +0000 Subject: [PATCH] Mark function as ignored by clippy We don't want to collapse this if - it is easier to reason about this way --- src/display.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/display.rs b/src/display.rs index f7d6a49..752f12c 100644 --- a/src/display.rs +++ b/src/display.rs @@ -20,6 +20,7 @@ impl DisplayData { } } + #[allow(clippy::collapsible_if)] fn get_tree_chars( &self, num_siblings: u64,