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/init.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/init.rs')
| -rw-r--r-- | src/command/init.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/command/init.rs b/src/command/init.rs index d0f31f34..b6fbe4b3 100644 --- a/src/command/init.rs +++ b/src/command/init.rs @@ -1,4 +1,3 @@ -use eyre::Result; use structopt::StructOpt; #[derive(StructOpt)] @@ -20,11 +19,10 @@ fn init_bash() { } impl Cmd { - pub fn run(&self) -> Result<()> { + pub fn run(&self) { match self { Self::Zsh => init_zsh(), Self::Bash => init_bash(), } - Ok(()) } } |
