From c417390aeb5b79cb99b99e9c7ef19865d69c9893 Mon Sep 17 00:00:00 2001 From: andy Date: Mon, 21 Jun 2021 02:23:45 +0000 Subject: [PATCH] rustfmt mag.rs --- src/entity/item/mag.rs | 44 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/src/entity/item/mag.rs b/src/entity/item/mag.rs index e7a6d70..087ee88 100644 --- a/src/entity/item/mag.rs +++ b/src/entity/item/mag.rs @@ -1101,7 +1101,49 @@ impl Mag { // TODO: is this even needed? mags are not shop sellable...yet pub fn is_rare_item(self) -> bool { - matches!(self.mag, MagType::Pitri | MagType::Soniti | MagType::Preta | MagType::Churel | MagType::Robochao | MagType::OpaOpa | MagType::Pian | MagType::Chao | MagType::ChuChu | MagType::KapuKapu | MagType::AngelsWing | MagType::DevilsWing | MagType::Elenor | MagType::MarkIII | MagType::MasterSystem | MagType::Genesis | MagType::SegaSaturn | MagType::Dreamcast | MagType::Hamburger | MagType::PanzersTail | MagType::DevilsTail | MagType::Deva | MagType::Rati | MagType::Savitri | MagType::Rukmin | MagType::Pushan | MagType::Diwari | MagType::Sato | MagType::Bhima | MagType::Nidra | MagType::GeungSi | MagType::Tellusis | MagType::StrikerUnit | MagType::Pioneer | MagType::Puyo | MagType::Moro | MagType::Rappy | MagType::Yahoo | MagType::GaelGiel | MagType::Agastya) + matches!( + self.mag, + MagType::Pitri + | MagType::Soniti + | MagType::Preta + | MagType::Churel + | MagType::Robochao + | MagType::OpaOpa + | MagType::Pian + | MagType::Chao + | MagType::ChuChu + | MagType::KapuKapu + | MagType::AngelsWing + | MagType::DevilsWing + | MagType::Elenor + | MagType::MarkIII + | MagType::MasterSystem + | MagType::Genesis + | MagType::SegaSaturn + | MagType::Dreamcast + | MagType::Hamburger + | MagType::PanzersTail + | MagType::DevilsTail + | MagType::Deva + | MagType::Rati + | MagType::Savitri + | MagType::Rukmin + | MagType::Pushan + | MagType::Diwari + | MagType::Sato + | MagType::Bhima + | MagType::Nidra + | MagType::GeungSi + | MagType::Tellusis + | MagType::StrikerUnit + | MagType::Pioneer + | MagType::Puyo + | MagType::Moro + | MagType::Rappy + | MagType::Yahoo + | MagType::GaelGiel + | MagType::Agastya + ) } }