Skip to content

Commit 9996a05

Browse files
Rollup merge of #157652 - davidhewitt:unicode-norm-doc, r=mejrs
fix doc for unicode normalization faq on `casefold` APIs APIs added in #154742 have an outbound doc link to https://www.unicode.org/faq/normalization, but this URL appears to not exist. The correct URL appears to be https://www.unicode.org/faq/normalization.html cc @Jules-Bertholet
2 parents a26289d + d370f0d commit 9996a05

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

library/alloc/src/str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ impl str {
733733
/// assert_eq!(decomp.to_casefold_unnormalized(), "a\u{030A}");
734734
/// ```
735735
///
736-
/// [normalization]: https://www.unicode.org/faq/normalization
736+
/// [normalization]: https://www.unicode.org/faq/normalization.html
737737
#[cfg(not(no_global_oom_handling))]
738738
#[rustc_allow_incoherent_impl]
739739
#[must_use = "this returns the case-folded string as a new String, \

library/core/src/char/methods.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1647,7 +1647,7 @@ impl char {
16471647
///
16481648
/// holds across languages.
16491649
///
1650-
/// [normalization]: https://www.unicode.org/faq/normalization
1650+
/// [normalization]: https://www.unicode.org/faq/normalization.html
16511651
#[must_use = "this returns the case-folded character as a new iterator, \
16521652
without modifying the original"]
16531653
#[unstable(feature = "casefold", issue = "154742")]

library/core/src/str/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2902,7 +2902,7 @@ impl str {
29022902
/// assert!(!comp.eq_ignore_case_unnormalized(decomp));
29032903
/// ```
29042904
///
2905-
/// [normalization]: https://www.unicode.org/faq/normalization
2905+
/// [normalization]: https://www.unicode.org/faq/normalization.html
29062906
#[unstable(feature = "casefold", issue = "154742")]
29072907
#[must_use]
29082908
#[inline]

0 commit comments

Comments
 (0)