mirror of
https://github.com/Zenithsiz/dcb.git
synced 2026-02-12 21:03:18 +00:00
Updated lints to reflect new clippy versions.
Moved `clippy::unsafe_derive_deserialize` allow to where it is explicitly allowed, instead of allowing it crate-wide.
This commit is contained in:
@@ -31,6 +31,7 @@ use std::{
|
||||
/// on where the table is deserialized from and it's features / restrictions.
|
||||
#[derive(PartialEq, Eq, Clone, Debug)]
|
||||
#[derive(serde::Serialize, serde::Deserialize)]
|
||||
#[allow(clippy::unsafe_derive_deserialize)] // We don't have any `unsafe` methods
|
||||
pub struct Table {
|
||||
/// All digimons in this table
|
||||
pub digimons: Vec<Digimon>,
|
||||
|
||||
@@ -21,6 +21,7 @@ use std::{
|
||||
/// The decks table, where all decks are stored
|
||||
#[derive(PartialEq, Eq, Clone, Debug)]
|
||||
#[derive(serde::Serialize, serde::Deserialize)]
|
||||
#[allow(clippy::unsafe_derive_deserialize)] // We don't have any `unsafe` methods
|
||||
pub struct Table {
|
||||
/// All decks
|
||||
decks: Vec<Deck>,
|
||||
|
||||
Reference in New Issue
Block a user