Fix typo in doc of into_json

This commit is contained in:
Jarobi
2021-01-17 12:47:37 +01:00
committed by Martin Algesten
parent 0b5db55378
commit 4aadda8ad3

View File

@@ -321,7 +321,7 @@ impl Response {
} }
/// Read the body of this response into a serde_json::Value, or any other type that /// Read the body of this response into a serde_json::Value, or any other type that
// implements the [serde::Deserialize] trait. /// implements the [serde::Deserialize] trait.
/// ///
/// You must use either a type annotation as shown below (`message: Message`), or the /// You must use either a type annotation as shown below (`message: Message`), or the
/// [turbofish operator] (`::<Type>`) so Rust knows what type you are trying to read. /// [turbofish operator] (`::<Type>`) so Rust knows what type you are trying to read.