diff --git a/src/async_impl/response.rs b/src/async_impl/response.rs index c6c5af6..3033a1c 100644 --- a/src/async_impl/response.rs +++ b/src/async_impl/response.rs @@ -156,8 +156,9 @@ impl Response { /// and with malformed sequences replaced with the REPLACEMENT CHARACTER. /// You can provide a default encoding for decoding the raw message, while the /// `charset` parameter of `Content-Type` header is still prioritized. For more information - /// about the possible encoding name, please go to - /// https://docs.rs/encoding_rs/0.8.17/encoding_rs/#relationship-with-windows-code-pages + /// about the possible encoding name, please go to [`encoding_rs`] docs. + /// + /// [`encoding_rs`]: https://docs.rs/encoding_rs/0.8/encoding_rs/#relationship-with-windows-code-pages /// /// # Example /// diff --git a/src/blocking/response.rs b/src/blocking/response.rs index 6123f82..165bdce 100644 --- a/src/blocking/response.rs +++ b/src/blocking/response.rs @@ -251,8 +251,9 @@ impl Response { /// and with malformed sequences replaced with the REPLACEMENT CHARACTER. /// You can provide a default encoding for decoding the raw message, while the /// `charset` parameter of `Content-Type` header is still prioritized. For more information - /// about the possible encoding name, please go to - /// https://docs.rs/encoding_rs/0.8.17/encoding_rs/#relationship-with-windows-code-pages + /// about the possible encoding name, please go to [`encoding_rs`] docs. + /// + /// [`encoding_rs`]: https://docs.rs/encoding_rs/0.8/encoding_rs/#relationship-with-windows-code-pages /// /// # Example ///