From 0d1b897c725626b802b9361d9e20ea7b1648ac79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tau=20G=C3=A4rtli?= Date: Thu, 2 Jan 2025 22:05:06 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Silence=20new=20clippy=20warning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/pycolorsaurus/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/pycolorsaurus/src/lib.rs b/crates/pycolorsaurus/src/lib.rs index 42b93f8..f885c1b 100644 --- a/crates/pycolorsaurus/src/lib.rs +++ b/crates/pycolorsaurus/src/lib.rs @@ -1,3 +1,7 @@ +// Useless conversion is in code generated by PYO3 +// FIXME(msrv): Use `#[allow(..., reason = "...")]` +#![allow(clippy::useless_conversion)] + use pyo3::{ create_exception, exceptions::{PyException, PyIndexError, PyValueError},