diff --git a/src/units/gwei.rs b/src/units/gwei.rs index 21055d5..1c9c730 100644 --- a/src/units/gwei.rs +++ b/src/units/gwei.rs @@ -116,7 +116,7 @@ impl From 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 {