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)]
struct APIError {
error: String
pub struct APIError {
pub error: String
}
#[derive(Deserialize)]