Skip to content

Commit d370f0d

Browse files
committed
fix doc for unicode normalization faq on casefold APIs
1 parent a962594 commit d370f0d

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)