Skip to content

Commit 9dc16fe

Browse files
committed
clippy
1 parent dc3e2dc commit 9dc16fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/dictBuilder/zdict.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -741,10 +741,10 @@ unsafe fn ZDICT_countEStats(
741741
mut srcSize: size_t,
742742
notificationLevel: u32,
743743
) {
744-
let blockSizeMax = (if ((1) << 17) < (1) << (*params).cParams.windowLog {
744+
let blockSizeMax = (if ((1) << 17) < (1) << params.cParams.windowLog {
745745
(1) << 17
746746
} else {
747-
(1) << (*params).cParams.windowLog
747+
(1) << params.cParams.windowLog
748748
}) as size_t;
749749
let mut cSize: size_t = 0;
750750
if srcSize > blockSizeMax {

0 commit comments

Comments
 (0)