diff options
author | Stephan Dilly <dilly.stephan@gmail.com> | 2021-06-05 10:28:18 +0200 |
---|---|---|
committer | Stephan Dilly <dilly.stephan@gmail.com> | 2021-06-05 10:28:18 +0200 |
commit | 5b07c4823404765ed259859e5412b2e92ac600c9 (patch) | |
tree | fefca0c35eebc7951841dc7237682752247c9800 /src/main.rs | |
parent | 6006e7aebdc4bb5a14442c0f1508e4bf242e84b6 (diff) |
nightly clippy fixes
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index ba422a34..68efee4a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -144,13 +144,13 @@ fn main() -> Result<()> { //Note: external ed closed, we need to re-hide cursor terminal.hide_cursor()?; } - app.event(ev)? + app.event(ev)?; } QueueEvent::Tick => app.update()?, QueueEvent::GitEvent(ev) if ev != AsyncNotification::FinishUnchanged => { - app.update_git(ev)? + app.update_git(ev)?; } QueueEvent::GitEvent(..) => (), QueueEvent::SpinnerUpdate => unreachable!(), @@ -201,7 +201,7 @@ fn draw<B: Backend>( terminal.draw(|mut f| { if let Err(e) = app.draw(&mut f) { - log::error!("failed to draw: {:?}", e) + log::error!("failed to draw: {:?}", e); } })?; |