Skip to content

Commit

Permalink
Stop using the legacy numeric constant
Browse files Browse the repository at this point in the history
  • Loading branch information
breard-r committed Nov 18, 2024
1 parent 706a92c commit 6b571f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oath.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ macro_rules! builder_common {
for _ in 1..self.output_len {
nb_bits = match nb_bits.checked_mul(base_len) {
Some(nb_bits) => nb_bits,
None => return ::std::usize::MAX,
None => return usize::MAX,
};
}
nb_bits
Expand Down

0 comments on commit 6b571f2

Please sign in to comment.