aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2019-12-13 02:26:00 +0100
committerDaniel Schadt <kingdread@gmx.de>2019-12-13 02:26:00 +0100
commitb66dc9a5863ecdb42e823db8d7ed0b253c0b75d0 (patch)
treefed206d45f97b165f36fa67b2194901fae14901e /src
parent03958577d2e1a6175b75ae83bd17228902aec6b9 (diff)
downloadkondou-b66dc9a5863ecdb42e823db8d7ed0b253c0b75d0.tar.gz
kondou-b66dc9a5863ecdb42e823db8d7ed0b253c0b75d0.tar.bz2
kondou-b66dc9a5863ecdb42e823db8d7ed0b253c0b75d0.zip
don't need trait descriptions
As it looks, not every trait comes with this field, which prevents some traitlines (notably the Firebrand one) from rendering successfully, as serde refuses to deserialize the Trait. We never displayed the description, and it's trivial to add back, so that's why it was removed.
Diffstat (limited to 'src')
-rw-r--r--src/api/traits.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/api/traits.rs b/src/api/traits.rs
index 194d061..6c02e7b 100644
--- a/src/api/traits.rs
+++ b/src/api/traits.rs
@@ -14,8 +14,6 @@ pub struct Trait {
pub name: String,
/// The trait's icon URL.
pub icon: String,
- /// The trait description.
- pub description: String,
/// The id of the specialization this trait belongs to.
pub specialization: u32,
/// The trait's tier, as a value from 1-3.