From 15433a9751ade01e6ca6bf3118db2117a07ea168 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Sun, 11 Apr 2021 14:28:16 +0200 Subject: [PATCH] api-macros: Fix a typo --- ruma-api-macros/src/api/response/incoming.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruma-api-macros/src/api/response/incoming.rs b/ruma-api-macros/src/api/response/incoming.rs index 39cb7339..9478606a 100644 --- a/ruma-api-macros/src/api/response/incoming.rs +++ b/ruma-api-macros/src/api/response/incoming.rs @@ -29,8 +29,8 @@ impl Response { if #bytes::Buf::has_remaining(&body) { #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 responses with only optional body + // If the response body is completely empty, pretend it is an empty + // JSON object instead. This allows responses with only optional body // parameters to be deserialized in that case. #serde_json::from_str("{}")? }