From b66dc9a5863ecdb42e823db8d7ed0b253c0b75d0 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Fri, 13 Dec 2019 02:26:00 +0100 Subject: 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. --- src/api/traits.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/api/traits.rs') 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. -- cgit v1.2.3