summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Tay <samctay@pm.me>2021-03-14 00:04:50 -0500
committerSam Tay <samctay@pm.me>2021-03-14 00:04:50 -0500
commit4b00207730c15e1200d000b2340297dc96a3fb83 (patch)
tree27e4b96d241bf70725fe8381a52b3075e031e661
parent2ec1b50710d5d0c4c30111df4eac8a31fc43d9a3 (diff)
Obey clippy
-rw-r--r--src/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 130a53b..3a07158 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -19,10 +19,9 @@ fn main() -> Result<()> {
// Tokio runtime
Runtime::new()?
.block_on(run())
- .and_then(|qs| {
+ .map(|qs| {
// Run TUI
qs.map(tui::run);
- Ok(())
})
.or_else(|e: Error| {
// Handle errors