diff options
| author | Jannik <32144358+mozzieongit@users.noreply.github.com> | 2021-09-24 18:03:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-24 16:03:37 +0000 |
| commit | 446ffb88c7b67d61d41be084fa724f84fa055e22 (patch) | |
| tree | 244f8a7c0ac262e93c83c2e540e90ba0e02da711 /src/command/mod.rs | |
| parent | Reordered fuzzy search (#179) (diff) | |
| download | atuin-446ffb88c7b67d61d41be084fa724f84fa055e22.zip | |
Resolve clippy warnings (#187)
* refactor: nest or patterns
* refactor: fix clippy lint names
* refactor: remove unnecessary wraps
* style: apply cargo fmt
Diffstat (limited to 'src/command/mod.rs')
| -rw-r--r-- | src/command/mod.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/command/mod.rs b/src/command/mod.rs index 6050c4eb..f959fc98 100644 --- a/src/command/mod.rs +++ b/src/command/mod.rs @@ -108,7 +108,10 @@ impl AtuinCmd { Self::Import(import) => import.run(&mut db).await, Self::Server(server) => server.run(&server_settings).await, Self::Stats(stats) => stats.run(&mut db, &client_settings).await, - Self::Init(init) => init.run(), + Self::Init(init) => { + init.run(); + Ok(()) + } Self::Search { cwd, exit, |
