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: rust-bitcoin#191
  • Loading branch information
tcharding committed Jul 31, 2024
1 parent 3f9963e commit d0905b0
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 d0905b0

Please sign in to comment.