From 003668efd062727f20382d6ba429169871346d4a Mon Sep 17 00:00:00 2001 From: bkushigian Date: Wed, 16 Oct 2024 07:15:40 -0400 Subject: [PATCH] Clippyw orkaround --- src/range.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/range.rs b/src/range.rs index eac5953..71f0833 100644 --- a/src/range.rs +++ b/src/range.rs @@ -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;