Skip to content

Commit

Permalink
elide some named lifetimes
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed Jan 3, 2025
1 parent 1677c81 commit 755d1d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl<'de> Deserialize<'de> for CheckSquare {
{
struct CheckSquareVisitor;

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

fn expecting(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
Expand Down Expand Up @@ -106,7 +106,7 @@ impl<'de> Deserialize<'de> for Coordinates {
{
struct CoordinatesVisitor;

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

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

0 comments on commit 755d1d2

Please sign in to comment.