Skip to content

Commit c9eb5f8

Browse files
committed
chore: Ignore false positive clippy warning.
1 parent 6d41d9b commit c9eb5f8

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

symphonia-bundle-mp3/src/layer1/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ impl Layer1 {
7070
}
7171

7272
impl Layer for Layer1 {
73+
#[allow(clippy::needless_range_loop)]
7374
fn decode(
7475
&mut self,
7576
reader: &mut BufReader<'_>,

symphonia-bundle-mp3/src/layer2/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ impl Layer2 {
232232
}
233233

234234
impl Layer for Layer2 {
235+
#[allow(clippy::needless_range_loop)]
235236
fn decode(
236237
&mut self,
237238
reader: &mut BufReader<'_>,

symphonia-codec-adpcm/src/codec_ms.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ pub(crate) fn decode_mono<B: ReadBytes>(
120120
Ok(())
121121
}
122122

123+
#[allow(clippy::needless_range_loop)]
123124
pub(crate) fn decode_stereo<B: ReadBytes>(
124125
stream: &mut B,
125126
buffers: [&mut [i32]; 2],

0 commit comments

Comments
 (0)