Skip to content

Commit

Permalink
Obey clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
samtay committed Mar 14, 2021
1 parent 2ec1b50 commit 4b00207
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4b00207

Please sign in to comment.