Skip to content

Commit

Permalink
Refactor main.rs to remove unnecessary return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
AndPuQing committed Sep 28, 2024
1 parent 2d102b4 commit e7b2c53
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ async fn main() -> Result<()> {
let args = Cli::parse();
let mut app = App::new(args.tick_rate, args.frame_rate, args.title, args.unit)?;
app.run().await?;

#[allow(clippy::needless_return)]
Ok(())
}

0 comments on commit e7b2c53

Please sign in to comment.