From a9dd94a99fdb30a77992ea0afa552f266efbd8a3 Mon Sep 17 00:00:00 2001 From: lzutao Date: Tue, 15 Oct 2019 01:24:12 +0700 Subject: [PATCH] doc: make encoding_rs link clickable (#674) --- src/async_impl/response.rs | 5 +++-- src/blocking/response.rs | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) 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 ///