diff --git a/examples/json_typed.rs b/examples/json_typed.rs index 44bc608..1c769d2 100644 --- a/examples/json_typed.rs +++ b/examples/json_typed.rs @@ -4,6 +4,7 @@ //! Rust compile-time type system guaranties though it requires a little bit //! more code. +// These require the `serde` dependency. use serde::{Deserialize, Serialize}; #[derive(Debug, Serialize, Deserialize)] diff --git a/src/async_impl/response.rs b/src/async_impl/response.rs index 1e095b8..fc6781c 100644 --- a/src/async_impl/response.rs +++ b/src/async_impl/response.rs @@ -210,6 +210,7 @@ impl Response { /// # use reqwest::Error; /// # use serde::Deserialize; /// # + /// // This `derive` requires the `serde` dependency. /// #[derive(Deserialize)] /// struct Ip { /// origin: String, diff --git a/src/blocking/response.rs b/src/blocking/response.rs index 57ad638..4977539 100644 --- a/src/blocking/response.rs +++ b/src/blocking/response.rs @@ -196,6 +196,7 @@ impl Response { /// # use reqwest::Error; /// # use serde::Deserialize; /// # + /// // This `derive` requires the `serde` dependency. /// #[derive(Deserialize)] /// struct Ip { /// origin: String,