diff options
author | Sam Tay <samctay@pm.me> | 2021-03-14 00:04:50 -0500 |
---|---|---|
committer | Sam Tay <samctay@pm.me> | 2021-03-14 00:04:50 -0500 |
commit | 4b00207730c15e1200d000b2340297dc96a3fb83 (patch) | |
tree | 27e4b96d241bf70725fe8381a52b3075e031e661 | |
parent | 2ec1b50710d5d0c4c30111df4eac8a31fc43d9a3 (diff) |
Obey clippy
-rw-r--r-- | src/main.rs | 3 |
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 |