Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
bertiqwerty committed Aug 17, 2023
1 parent b47c59c commit 028d1b4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ impl<'a> BalanceApp<'a> {
})
}
Err(e) => {
let status = format!("{e}");
let status = e.to_string();
self.status_msg = Some(status);
self.charts.move_tmp()
}
Expand Down Expand Up @@ -654,8 +654,7 @@ impl<'a> eframe::App for BalanceApp<'a> {
{
Ok(x) => Some(x),
Err(e) => {
self.status_msg =
Some(format!("could not find best trigger; {e}"));
self.status_msg = Some(format!("could not find best trigger; {e}"));
None
}
};
Expand Down

0 comments on commit 028d1b4

Please sign in to comment.