Skip to content

Commit

Permalink
Remove unused generic
Browse files Browse the repository at this point in the history
Turns out `clippy` does not warn for unused generics.

Fix: #191
  • Loading branch information
tcharding committed Aug 6, 2024
1 parent b9eb76f commit 7bdabff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/primitives/decode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<I: Iterator<Item = u8>>(&self) -> AsciiToFe32Iter {
pub fn fe32_iter(&self, _: u8) -> AsciiToFe32Iter {
AsciiToFe32Iter { iter: self.ascii.iter().copied() }
}

Expand Down

0 comments on commit 7bdabff

Please sign in to comment.