Skip to content

Commit a5aeb80

Browse files
committed
ignore a clippy suggestion that would result in incorrect logic
1 parent 7678d46 commit a5aeb80

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/audio.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ pub fn queue_managed_audio_system(
243243
},
244244
);
245245
}
246+
#[allow(clippy::for_loops_over_fallibles)]
246247
for item in game_state.audio_manager.music_queue.drain(..).last() {
247248
// stop any music currently playing
248249
if let Some(sink_handle) = &game_state.audio_manager.playing {

0 commit comments

Comments
 (0)