Skip to content

Commit

Permalink
Fix lint alloy-primitives (#756)
Browse files Browse the repository at this point in the history
Fix lint primitives
  • Loading branch information
emhane authored Oct 4, 2024
1 parent 1aa26cc commit fb47220
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/primitives/src/bits/fixed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl<const N: usize> Default for FixedBytes<N> {
}
}

impl<'a, const N: usize> Default for &'a FixedBytes<N> {
impl<const N: usize> Default for &FixedBytes<N> {
#[inline]
fn default() -> Self {
&FixedBytes::ZERO
Expand Down
2 changes: 1 addition & 1 deletion crates/primitives/src/signature/sig.rs
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ impl<'de> serde::Deserialize<'de> for Signature {
{
struct FieldVisitor;

impl<'de> serde::de::Visitor<'de> for FieldVisitor {
impl serde::de::Visitor<'_> for FieldVisitor {
type Value = Field;

fn expecting(
Expand Down

0 comments on commit fb47220

Please sign in to comment.