From 2e2609b752e1705a2184f7d7df2b7707f68e2d30 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Sat, 10 Apr 2021 16:07:28 +0200 Subject: [PATCH] api-macros: Fix a typo --- ruma-api-macros/src/api/response.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruma-api-macros/src/api/response.rs b/ruma-api-macros/src/api/response.rs index 11252b6d..b6435093 100644 --- a/ruma-api-macros/src/api/response.rs +++ b/ruma-api-macros/src/api/response.rs @@ -231,7 +231,7 @@ impl Response { #serde_json::from_reader(#bytes::Buf::reader(body))? } else { // If the reponse body is completely empty, pretend it is an empty JSON - // object instead. This allows reponses with only optional body + // object instead. This allows responses with only optional body // parameters to be deserialized in that case. #serde_json::from_str("{}")? }