From 6cc5a4d14049eddc7af63fc8dc18cc8dee819983 Mon Sep 17 00:00:00 2001 From: Sakuhl <2012collector@gmail.com> Date: Sun, 14 Jan 2018 15:25:42 +0100 Subject: [PATCH] Make APIError public --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 9553450..57deaf6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -51,8 +51,8 @@ pub fn guild_leaderboard() -> Result { } #[derive(Deserialize)] -struct APIError { - error: String +pub struct APIError { + pub error: String } #[derive(Deserialize)]