Skip to content

Commit dbd9dfe

Browse files
committed
clippy
1 parent 5a67472 commit dbd9dfe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

libbz2-rs-sys/src/blocksort.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ fn fallbackSort(
235235
}
236236

237237
{
238-
let eclass8 = arr2.block(nblock as usize);
238+
let eclass8 = arr2.block(nblock);
239239

240240
for e in eclass8.iter() {
241241
ftab[usize::from(*e)] += 1;
@@ -255,7 +255,7 @@ fn fallbackSort(
255255
}
256256
}
257257

258-
bhtab[0..2 + nblock as usize / 32].fill(0);
258+
bhtab[0..2 + nblock / 32].fill(0);
259259

260260
for i in 0..256 {
261261
SET_BH!(ftab[i]);

0 commit comments

Comments
 (0)