From 9404c209e3ed94706fc166612fccb4acaaa13ee6 Mon Sep 17 00:00:00 2001 From: Henri Sivonen Date: Thu, 19 Dec 2024 18:47:49 +0200 Subject: [PATCH] s/UTF-8/UTF-16/ where docs say UTF-8 twice (#5931) --- components/normalizer/README.md | 2 +- components/normalizer/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/normalizer/README.md b/components/normalizer/README.md index d1417d3af64..5c9e74093e4 100644 --- a/components/normalizer/README.md +++ b/components/normalizer/README.md @@ -13,7 +13,7 @@ The top level of the crate provides normalization of input into the four normali Normalization Forms](https://www.unicode.org/reports/tr15/): NFC, NFD, NFKC, and NFKD. Three kinds of contiguous inputs are supported: known-well-formed UTF-8 (`&str`), potentially-not-well-formed UTF-8, -and potentially-not-well-formed UTF-8. Additionally, an iterator over `char` can be wrapped in a normalizing iterator. +and potentially-not-well-formed UTF-16. Additionally, an iterator over `char` can be wrapped in a normalizing iterator. The `uts46` module provides the combination of mapping and normalization operations for [UTS #46: Unicode IDNA Compatibility Processing](https://www.unicode.org/reports/tr46/). This functionality is not meant to be used by diff --git a/components/normalizer/src/lib.rs b/components/normalizer/src/lib.rs index b69dbca497b..0c169bc2fcb 100644 --- a/components/normalizer/src/lib.rs +++ b/components/normalizer/src/lib.rs @@ -29,7 +29,7 @@ //! Normalization Forms](https://www.unicode.org/reports/tr15/): NFC, NFD, NFKC, and NFKD. //! //! Three kinds of contiguous inputs are supported: known-well-formed UTF-8 (`&str`), potentially-not-well-formed UTF-8, -//! and potentially-not-well-formed UTF-8. Additionally, an iterator over `char` can be wrapped in a normalizing iterator. +//! and potentially-not-well-formed UTF-16. Additionally, an iterator over `char` can be wrapped in a normalizing iterator. //! //! The `uts46` module provides the combination of mapping and normalization operations for [UTS #46: Unicode IDNA //! Compatibility Processing](https://www.unicode.org/reports/tr46/). This functionality is not meant to be used by