Skip to content

Commit 4e069c3

Browse files
Fix Clippy on beta
1 parent 32a044e commit 4e069c3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/zalsa.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,9 @@ impl ErasedJar {
516516
pub const fn erase<I: HasJar>() -> Self {
517517
Self {
518518
kind: I::KIND,
519+
// This is a false positive of the lint on beta, fixed on nightly.
520+
// FIXME: Remove this when nightly stabilizes.
521+
#[allow(clippy::incompatible_msrv)]
519522
type_id: TypeId::of::<I::Jar>,
520523
type_name: std::any::type_name::<I::Jar>,
521524
create_ingredients: <I::Jar>::create_ingredients,

0 commit comments

Comments
 (0)