summaryrefslogtreecommitdiff
path: root/cli/text_encoding.rs
diff options
context:
space:
mode:
authorFeng Yu <f3n67u@gmail.com>2021-09-05 22:22:45 +0800
committerGitHub <noreply@github.com>2021-09-05 16:22:45 +0200
commitbb99d5da4c9d7d17e08097d004bf36f0976a678c (patch)
tree358ad4c80ed7ebffc9f291ca84490b667012be24 /cli/text_encoding.rs
parentf9d29115a0164a861c99b36a0919324920225e42 (diff)
fix(doc): fix rustdoc bare_urls warning (#11921)
Diffstat (limited to 'cli/text_encoding.rs')
-rw-r--r--cli/text_encoding.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/text_encoding.rs b/cli/text_encoding.rs
index f61b877dc..5c638ccd5 100644
--- a/cli/text_encoding.rs
+++ b/cli/text_encoding.rs
@@ -29,7 +29,7 @@ pub fn detect_charset(bytes: &'_ [u8]) -> &'static str {
///
/// Supports all encodings supported by the encoding_rs crate, which includes
/// all encodings specified in the WHATWG Encoding Standard, and only those
-/// encodings (see: https://encoding.spec.whatwg.org/).
+/// encodings (see: <https://encoding.spec.whatwg.org/>).
pub fn convert_to_utf8<'a>(
bytes: &'a [u8],
charset: &'_ str,