Skip to content

Commit

Permalink
lints
Browse files Browse the repository at this point in the history
  • Loading branch information
joshstoik1 committed Nov 22, 2024
1 parent d40a6fb commit a0ce934
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ impl<'de> Deserialize<'de> for Utc2k {
);
}

impl<'de> de::Visitor<'de> for Visitor {
impl de::Visitor<'_> for Visitor {
type Value = Utc2k;

fn expecting(&self, f: &mut fmt::Formatter) -> fmt::Result {
Expand Down Expand Up @@ -139,7 +139,7 @@ impl<'de> Deserialize<'de> for Month {
/// # Visitor Instance.
struct Visitor;

impl<'de> de::Visitor<'de> for Visitor {
impl de::Visitor<'_> for Visitor {
type Value = Month;

fn expecting(&self, f: &mut fmt::Formatter) -> fmt::Result {
Expand Down Expand Up @@ -186,7 +186,7 @@ impl<'de> Deserialize<'de> for Weekday {
/// # Visitor Instance.
struct Visitor;

impl<'de> de::Visitor<'de> for Visitor {
impl de::Visitor<'_> for Visitor {
type Value = Weekday;

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

0 comments on commit a0ce934

Please sign in to comment.