api-macros: Fix a typo

This commit is contained in:
Jonas Platte 2021-04-10 16:07:28 +02:00
parent b122dcc135
commit 2e2609b752
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67

View File

@ -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("{}")?
}