From 725df12ae9503c52b802a096b54723d8bef29a74 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Wed, 31 Jul 2024 14:39:41 -0500 Subject: [PATCH] Remove unused generic Turns out `clippy` does not warn for unused generics. Fix: #191 --- src/primitives/decode.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/primitives/decode.rs b/src/primitives/decode.rs index 40bf9f105..7752ffdaf 100644 --- a/src/primitives/decode.rs +++ b/src/primitives/decode.rs @@ -442,7 +442,7 @@ impl<'s> CheckedHrpstring<'s> { /// /// Converts the ASCII bytes representing field elements to the respective field elements. #[inline] - pub fn fe32_iter>(&self) -> AsciiToFe32Iter { + pub fn fe32_iter(&self, _: u8) -> AsciiToFe32Iter { AsciiToFe32Iter { iter: self.ascii.iter().copied() } }