Skip to content

Commit

Permalink
Merge #193: Remove unused generic
Browse files Browse the repository at this point in the history
7bdabff Remove unused generic (Tobin C. Harding)

Pull request description:

  Just patch 2, draft until #192 goes in.

  Turns out `clippy` does not warn for unused generics.

  Fix: #191

ACKs for top commit:
  apoelstra:
    ACK 7bdabff successfully ran local tests; note that this is technically a breaking change

Tree-SHA512: 42fe88f886f053eaf6d68128cee9cb0f20a94afdd46dfca7bc2326726a9c2a6d010905ee97f1d2c0f13bcf620acfba1cb5463a48989c5e88f580def22ee9e5da
  • Loading branch information
apoelstra committed Aug 6, 2024
2 parents aa9de8f + 7bdabff commit 7e03432
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 7e03432

Please sign in to comment.