From 5fc299d8f9d2c62c43195900a93b7cec611a82ac Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 5 Aug 2022 18:18:47 +0200 Subject: [PATCH] Simplify import in `schema::setbundle::card::tests` --- src/schema/setbundle/card.rs | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/schema/setbundle/card.rs b/src/schema/setbundle/card.rs index 81ddce7..2e121b0 100644 --- a/src/schema/setbundle/card.rs +++ b/src/schema/setbundle/card.rs @@ -2,10 +2,9 @@ use std::collections::HashMap; - use super::*; -/// A single Legends of Runeterra card. +/// A single Legends of Runeterra card as represented in a `set.json` file. /// /// The information is represented in a developer-friendly manner, but it can be serialized and deserialized via [serde] in the exact same format used in Data Dragon. #[derive(Clone, Debug, PartialEq, Eq, Hash, serde::Serialize, serde::Deserialize)] @@ -162,13 +161,7 @@ impl Card { #[cfg(test)] mod tests { - use super::Card; - use super::super::art::CardArt; - use super::super::r#type::CardType; - use super::super::rarity::CardRarity; - use super::super::region::CardRegion; - use super::super::set::CardSet; - use super::super::speed::SpellSpeed; + use super::*; #[test] fn deserialize_card() {