From 7a2666816b72e55b750b71d801ceae5aa2bfd693 Mon Sep 17 00:00:00 2001 From: Chen-Pang He Date: Thu, 14 Sep 2023 21:40:07 +0800 Subject: [PATCH] Unify coding style for else --- src/topgg.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/topgg.rs b/src/topgg.rs index 81b9d9b..a85b63a 100644 --- a/src/topgg.rs +++ b/src/topgg.rs @@ -14,7 +14,8 @@ impl Stats { serde_json::json!({ "server_count": self.guilds, }) - } else { + } + else { serde_json::json!({ "server_count": self.guilds, "shard_count": self.shards,