diff options
| author | troido <troido@protonmail.com> | 2020-09-25 14:18:13 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-09-25 14:18:13 +0200 |
| commit | 87727f9519eb37b565d8cc88e174935bac0e1d12 (patch) | |
| tree | 78eb9daaf511b9eeeb8f0eef197556f0353582e1 /src/components/equipment.rs | |
| parent | 09306cb76c6e1eabb4082a985a0a0fa335bda5c1 (diff) | |
assemlage uses proper serialization too
Diffstat (limited to 'src/components/equipment.rs')
| -rw-r--r-- | src/components/equipment.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/equipment.rs b/src/components/equipment.rs index 929a035..e07aa0b 100644 --- a/src/components/equipment.rs +++ b/src/components/equipment.rs @@ -13,7 +13,7 @@ use crate::{ #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Serialize, Deserialize, EnumString, Display)] #[serde(rename_all = "lowercase")] -#[strum(serialize_all = "snake_case")] +#[strum(serialize_all = "lowercase")] pub enum Slot { Hand, Body, @@ -23,7 +23,7 @@ pub enum Slot { #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Serialize, Deserialize, EnumString, Display)] #[serde(rename_all = "lowercase")] -#[strum(serialize_all = "snake_case")] +#[strum(serialize_all = "lowercase")] pub enum Stat { Strength, Defence, |
