Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt committed Nov 8, 2024
1 parent ace2f1e commit 8086763
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/impl_/pyclass.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1532,6 +1532,7 @@ pub struct Deprecation;

impl<T> DeprecationTest<T> {
#[inline]
#[allow(clippy::new_without_default)]
pub const fn new() -> Self {
DeprecationTest(Deprecation, ::std::marker::PhantomData)
}
Expand Down

0 comments on commit 8086763

Please sign in to comment.