aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-26 23:38:55 -0700
committerFuwn <[email protected]>2021-05-26 23:38:55 -0700
commit74c5dc975f6757fb4d211c1827c90857e8ecdb75 (patch)
treed3731dbaf9228a6ce35ed4a4303a36169e04229b
parentrefactor(global): move thread creation to respective crates (diff)
downloadwhirl-74c5dc975f6757fb4d211c1827c90857e8ecdb75.tar.xz
whirl-74c5dc975f6757fb4d211c1827c90857e8ecdb75.zip
style(cli): remove unneeded else branch
-rw-r--r--crates/whirl/src/cli.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/whirl/src/cli.rs b/crates/whirl/src/cli.rs
index 9236659..c3fd198 100644
--- a/crates/whirl/src/cli.rs
+++ b/crates/whirl/src/cli.rs
@@ -73,8 +73,8 @@ impl Cli {
loop {
std::thread::sleep(std::time::Duration::default());
}
- } else {
- whirl_prompt::Prompt::handle().await;
}
+
+ whirl_prompt::Prompt::handle().await;
}
}