pub fn casefold<'a>(input: &'a str, mode: CaseFoldMode) -> Cow<'a, str>Expand description
Fold a string using simple case folding.
Returns Cow::Borrowed if the string is already fully case-folded
(no characters changed).
pub fn casefold<'a>(input: &'a str, mode: CaseFoldMode) -> Cow<'a, str>Fold a string using simple case folding.
Returns Cow::Borrowed if the string is already fully case-folded
(no characters changed).