From 3b3f8764911e39c869523cd481cb3eb16fd9135f Mon Sep 17 00:00:00 2001 From: imrn99 Date: Sun, 5 May 2024 20:06:17 +0200 Subject: [PATCH] add a clippy exception for casts --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 59c5c5c..a031fd6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,6 +15,8 @@ // more lints #![warn(clippy::pedantic)] #![warn(missing_docs)] +// allow some exceptions +#![allow(clippy::cast_precision_loss)] // --- MODULES DECLARATION