Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
conr2d committed Jan 17, 2025
1 parent c25c372 commit eea2e9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/decode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ impl<'a, I: AsRef<[u8]>> DecodeBuilder<'a, I> {
/// For `const` compatibility we are restricted to using a concrete input and output type, as
/// `const` trait implementations and `&mut` are unstable. These methods will eventually be
/// deprecated once the primary interfaces can be converted into `const fn` directly.
impl<'a, 'b> DecodeBuilder<'a, &'b [u8]> {
impl DecodeBuilder<'_, &[u8]> {
/// Decode into a new array.
///
/// Returns the decoded array as bytes.
Expand Down

0 comments on commit eea2e9d

Please sign in to comment.