mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
syntactic changes: remove unneeded parentheses
This commit is contained in:
parent
218a2e6dda
commit
07970468bd
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue