Skip to content

Commit 26eef4c

Browse files
committed
Clippy
1 parent 95a599c commit 26eef4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/legacy/zstd_v07.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -835,6 +835,7 @@ fn HUFv07_readDTableX2(DTable: &mut HUFv07_DTable, src: &[u8]) -> Result<usize,
835835
DTable.description = dtd;
836836
let dt = DTable.as_x2_mut();
837837
let mut nextRankStart = 0u32;
838+
#[allow(clippy::needless_range_loop)]
838839
for n in 1..tableLog as usize + 1 {
839840
let current = nextRankStart;
840841
nextRankStart += rankVal[n] << (n - 1);

0 commit comments

Comments
 (0)