aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/init.rs
diff options
context:
space:
mode:
authorJannik <32144358+mozzieongit@users.noreply.github.com>2021-09-24 18:03:37 +0200
committerGitHub <noreply@github.com>2021-09-24 16:03:37 +0000
commit446ffb88c7b67d61d41be084fa724f84fa055e22 (patch)
tree244f8a7c0ac262e93c83c2e540e90ba0e02da711 /src/command/init.rs
parentReordered fuzzy search (#179) (diff)
downloadatuin-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.rs4
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(())
}
}