Make APIError public

This commit is contained in:
Sakuhl 2018-01-14 15:25:42 +01:00
parent 8506121986
commit 6cc5a4d140

View File

@ -51,8 +51,8 @@ pub fn guild_leaderboard() -> Result<Top100Guilds, Error> {
} }
#[derive(Deserialize)] #[derive(Deserialize)]
struct APIError { pub struct APIError {
error: String pub error: String
} }
#[derive(Deserialize)] #[derive(Deserialize)]