From 24b51f40512c8a250308bc472a50c493d9245ccd Mon Sep 17 00:00:00 2001 From: Filipe Rodrigues Date: Wed, 13 May 2020 01:10:49 +0100 Subject: [PATCH] Added exception to new lint due to a false positive. --- src/game/card/table.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/game/card/table.rs b/src/game/card/table.rs index a4b9534..ce4eb62 100644 --- a/src/game/card/table.rs +++ b/src/game/card/table.rs @@ -33,6 +33,11 @@ //! | 0x0 | 0x2 | u16 | Card id | This card's ID | //! | 0x2 | 0x1 | [`CardType`] | Card type | The card type ([Digimon], [Item] or [Digivolve]) | +// Lints +// False positive, we don't use any `unsafe` in impls +// TODO: Remove this lint once it no longer triggers. +#![allow(clippy::unsafe_derive_deserialize)] + // Std use std::io::{Read, Seek, Write};