From f392562f81e95851b59eabd7661eda96a4c1def0 Mon Sep 17 00:00:00 2001 From: J / Jacob Babich Date: Wed, 16 Oct 2024 02:16:22 -0400 Subject: [PATCH] style(multibinary): mark the Clippy lint against manually implementing `Default` for `Command` as allowed --- multibinary/src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/multibinary/src/main.rs b/multibinary/src/main.rs index 50d73d6..68e932b 100644 --- a/multibinary/src/main.rs +++ b/multibinary/src/main.rs @@ -50,6 +50,7 @@ cfg_if!( // with the GUI (made with eframe) // being considered more appealing (made the default) if #[cfg(feature = "gui-eframe")] { + #[allow(clippy::derivable_impls)] impl Default for Command { fn default() -> Self { Command::GuiEframe @@ -58,6 +59,7 @@ cfg_if!( } // than the TUI (made with Ratatui) else if #[cfg(feature = "tui-ratatui")] { + #[allow(clippy::derivable_impls)] impl Default for Command { fn default() -> Self { Command::TuiRatatui