Skip to content

Commit

Permalink
Add references to LocaleCanonicalizer (unicode-org#5306)
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc authored Sep 23, 2024
1 parent 6356389 commit 7fa33d8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions components/locale_core/src/langid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ use writeable::Writeable;
/// At the moment parsing normalizes a well-formed language identifier converting
/// `_` separators to `-` and adjusting casing to conform to the Unicode standard.
///
/// Any bogus subtags will cause the parsing to fail with an error.
/// No subtag validation is performed.
/// Any syntactically invalid subtags will cause the parsing to fail with an error.
///
/// This operation normalizes syntax to be well-formed. No legacy subtag replacements is performed.
/// For validation and canonicalization, see `LocaleCanonicalizer`.
///
/// # Ordering
///
Expand Down
5 changes: 3 additions & 2 deletions components/locale_core/src/locale.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ use writeable::Writeable;
/// At the moment parsing normalizes a well-formed locale identifier converting
/// `_` separators to `-` and adjusting casing to conform to the Unicode standard.
///
/// Any bogus subtags will cause the parsing to fail with an error.
/// Any syntactically invalid subtags will cause the parsing to fail with an error.
///
/// No subtag validation or alias resolution is performed.
/// This operation normalizes syntax to be well-formed. No legacy subtag replacements is performed.
/// For validation and canonicalization, see `LocaleCanonicalizer`.
///
/// # Ordering
///
Expand Down

0 comments on commit 7fa33d8

Please sign in to comment.