Skip to content

Commit

Permalink
fix clippy warning about eliding lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
conduition committed Dec 2, 2024
1 parent 7defa07 commit 1dc4eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/testhex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ impl<const SIZE: usize> TryFromBytes for [u8; SIZE] {

struct HexVisitor;

impl<'de> serde::de::Visitor<'de> for HexVisitor {
impl serde::de::Visitor<'_> for HexVisitor {
type Value = Vec<u8>;

fn expecting(&self, formatter: &mut std::fmt::Formatter) -> std::fmt::Result {
Expand Down

0 comments on commit 1dc4eac

Please sign in to comment.