Function secular::lower_lay_string[][src]

pub fn lower_lay_string(s: &str) -> String
Expand description

Replace every character with its lowercased diacritics-free equivalent whenever possible.

By construct, the resulting string is guaranteed to have the same number of characters as the input one (it may be smaller in bytes but not larger).

This function doesn’t do any normalization. It’s thus necessary to ensure the string is already normalized.