From f10fef2c8890763d62a8ecc1d0f621edc51890cb Mon Sep 17 00:00:00 2001 From: ryan Date: Sat, 16 Nov 2024 19:18:43 -0500 Subject: [PATCH] blahaj::math: make clippy happy --- src/math.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/math.rs b/src/math.rs index ee69252..6ae678d 100644 --- a/src/math.rs +++ b/src/math.rs @@ -50,7 +50,7 @@ pub fn random_polynomial(s: GF256, k: u8, rng: &mut R) -> Vec>) -> impl Iterator { - (1..=u8::max_value()).map(GF256).map(move |x| Share { + (1..=u8::MAX).map(GF256).map(move |x| Share { x: x.clone(), y: polys .iter()