From 68fa93de0ca95c57cbf7d668d49c2993d40ae5fe Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Fri, 12 Aug 2022 18:25:52 +0200 Subject: [PATCH] Ignore faulty clippy lint for now --- instant-distance-py/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/instant-distance-py/src/lib.rs b/instant-distance-py/src/lib.rs index 9ad2385..b00a8b8 100644 --- a/instant-distance-py/src/lib.rs +++ b/instant-distance-py/src/lib.rs @@ -1,4 +1,6 @@ -#![allow(clippy::from_iter_instead_of_collect)] +// borrow_deref_ref doesn't get macro detection right, allow for now +#![allow(clippy::from_iter_instead_of_collect, clippy::borrow_deref_ref)] + use std::convert::TryFrom; use std::fs::File; use std::io::{BufReader, BufWriter};