Skip to content

Commit 0119211

Browse files
author
daniel.eades
committed
update for latest nightly
1 parent bf7b8f8 commit 0119211

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arithmetic-coding-core/src/bitstore.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ impl BitStore for u32 {
3535
const ZERO: Self = 0;
3636

3737
fn log2(self) -> u32 {
38-
u32::log2(self)
38+
u32::ilog2(self)
3939
}
4040
}
4141

@@ -45,7 +45,7 @@ impl BitStore for u64 {
4545
const ZERO: Self = 0;
4646

4747
fn log2(self) -> u32 {
48-
u64::log2(self)
48+
u64::ilog2(self)
4949
}
5050
}
5151

@@ -55,6 +55,6 @@ impl BitStore for u128 {
5555
const ZERO: Self = 0;
5656

5757
fn log2(self) -> u32 {
58-
u128::log2(self)
58+
u128::ilog2(self)
5959
}
6060
}

0 commit comments

Comments
 (0)