mirror of
https://github.com/babichjacob/ac-qu-ai-nt.git
synced 2025-10-02 04:47:53 -04:00
style(multibinary): mark the Clippy lint against manually implementing Default
for Command
as allowed
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user