Correct fold_variant doc: the dotless loop drops the U+0307 after i
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
492f8358a3
commit
f5c266c121
1 changed files with 2 additions and 2 deletions
|
|
@ -491,8 +491,8 @@ pub(crate) fn normalized(text: &str) -> String {
|
|||
|
||||
/// The one-to-one folds `normalized` adds to NFKC and case folding, applied
|
||||
/// before the case fold. (U+0130 needs no arm: it folds to i plus a combining
|
||||
/// dot, and the dot is dropped when the NFKC split reaches the filter in
|
||||
/// `normalized`, so the key is plain `i`.)
|
||||
/// dot, and the `dotless` loop in `normalized` drops that dot after an `i`, so
|
||||
/// the key is plain `i`.)
|
||||
fn fold_variant(c: char) -> impl Iterator<Item = char> {
|
||||
let one = |c: char| (c, None);
|
||||
let (first, second) = match c {
|
||||
|
|
|
|||
Loading…
Reference in a new issue