Skip to content

Commit

Permalink
Clippyw orkaround
Browse files Browse the repository at this point in the history
  • Loading branch information
bkushigian committed Oct 16, 2024
1 parent f1142c8 commit 003668e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/range.rs
Original file line number Diff line number Diff line change
Expand Up @@ -993,6 +993,8 @@ impl<'de> Deserialize<'de> for Range {
{
struct RangeVisitor;

// A workaround in a clippy bug
#[allow(clippy::needless_lifetimes)]
impl<'de> Visitor<'de> for RangeVisitor {
type Value = Range;

Expand Down

0 comments on commit 003668e

Please sign in to comment.