Skip to content

Commit 7bdabff

Browse files
committed
Remove unused generic
Turns out `clippy` does not warn for unused generics. Fix: #191
1 parent b9eb76f commit 7bdabff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/primitives/decode.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ impl<'s> CheckedHrpstring<'s> {
442442
///
443443
/// Converts the ASCII bytes representing field elements to the respective field elements.
444444
#[inline]
445-
pub fn fe32_iter<I: Iterator<Item = u8>>(&self) -> AsciiToFe32Iter {
445+
pub fn fe32_iter(&self, _: u8) -> AsciiToFe32Iter {
446446
AsciiToFe32Iter { iter: self.ascii.iter().copied() }
447447
}
448448

0 commit comments

Comments
 (0)