Skip to content

Commit

Permalink
make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
CleanCut committed Oct 15, 2024
1 parent df8a95d commit 22ac2df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fn reset_game(in_menu: &mut bool, player: &mut Player, invaders: &mut Invaders)
fn main() -> Result<(), Box<dyn Error>> {
let mut audio = Audio::new();
for item in &["explode", "lose", "move", "pew", "startup", "win"] {
audio.add(item, &format!("audio/original/{}.wav", item));
audio.add(item, format!("audio/original/{}.wav", item));
}
audio.play("startup");

Expand Down

0 comments on commit 22ac2df

Please sign in to comment.