Skip to content

Commit

Permalink
refactor(gwei): prefer elide lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
alextes committed Dec 3, 2024
1 parent 8c2a4ab commit 5e6d772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/units/gwei.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ impl From<EthNewtype> for GweiImprecise {

struct GweiAmountVisitor;

impl<'de> Visitor<'de> for GweiAmountVisitor {
impl Visitor<'_> for GweiAmountVisitor {
type Value = GweiNewtype;

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

0 comments on commit 5e6d772

Please sign in to comment.