Skip to content

Commit 22ac2df

Browse files
committed
make clippy happy
1 parent df8a95d commit 22ac2df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ fn reset_game(in_menu: &mut bool, player: &mut Player, invaders: &mut Invaders)
4141
fn main() -> Result<(), Box<dyn Error>> {
4242
let mut audio = Audio::new();
4343
for item in &["explode", "lose", "move", "pew", "startup", "win"] {
44-
audio.add(item, &format!("audio/original/{}.wav", item));
44+
audio.add(item, format!("audio/original/{}.wav", item));
4545
}
4646
audio.play("startup");
4747

0 commit comments

Comments
 (0)