From 808676302d5886511fa00a684de54c19fe9d7830 Mon Sep 17 00:00:00 2001 From: David Hewitt Date: Fri, 8 Nov 2024 13:57:53 +0000 Subject: [PATCH] clippy --- src/impl_/pyclass.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/impl_/pyclass.rs b/src/impl_/pyclass.rs index 98880871099..c947df6e432 100644 --- a/src/impl_/pyclass.rs +++ b/src/impl_/pyclass.rs @@ -1532,6 +1532,7 @@ pub struct Deprecation; impl DeprecationTest { #[inline] + #[allow(clippy::new_without_default)] pub const fn new() -> Self { DeprecationTest(Deprecation, ::std::marker::PhantomData) }