mirror of
https://github.com/babichjacob/ac-qu-ai-nt.git
synced 2025-10-02 16:57: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)
|
// with the GUI (made with eframe)
|
||||||
// being considered more appealing (made the default)
|
// being considered more appealing (made the default)
|
||||||
if #[cfg(feature = "gui-eframe")] {
|
if #[cfg(feature = "gui-eframe")] {
|
||||||
|
#[allow(clippy::derivable_impls)]
|
||||||
impl Default for Command {
|
impl Default for Command {
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
Command::GuiEframe
|
Command::GuiEframe
|
||||||
@@ -58,6 +59,7 @@ cfg_if!(
|
|||||||
}
|
}
|
||||||
// than the TUI (made with Ratatui)
|
// than the TUI (made with Ratatui)
|
||||||
else if #[cfg(feature = "tui-ratatui")] {
|
else if #[cfg(feature = "tui-ratatui")] {
|
||||||
|
#[allow(clippy::derivable_impls)]
|
||||||
impl Default for Command {
|
impl Default for Command {
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
Command::TuiRatatui
|
Command::TuiRatatui
|
||||||
|
Reference in New Issue
Block a user