From 6b571f2744de3c2da8ce45dcbf6a3788923c8f90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= <v.code.ngyvz7vf@what.tf>
Date: Mon, 18 Nov 2024 19:26:25 +0100
Subject: [PATCH] Stop using the legacy numeric constant

---
 src/oath.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/oath.rs b/src/oath.rs
index 656a120..8a31557 100644
--- a/src/oath.rs
+++ b/src/oath.rs
@@ -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