From 07970468bd666806eee35db2f2feaa5339b28bd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20L=C3=B3pez?= Date: Sat, 18 Jan 2025 18:45:05 +0100 Subject: [PATCH] syntactic changes: remove unneeded parentheses --- cli/app.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/app.rs b/cli/app.rs index 435c8f230..9c7e17d65 100644 --- a/cli/app.rs +++ b/cli/app.rs @@ -135,7 +135,7 @@ pub enum Command { impl Command { fn min_args(&self) -> usize { - (match self { + 1 + match self { Self::Quit | Self::Schema | Self::Help @@ -150,7 +150,7 @@ impl Command { | Self::NullValue | Self::LoadExtension => 1, Self::Import => 2, - } + 1) // argv0 + } // argv0 } fn usage(&self) -> &str {