pub fn decompose(s: Cow<'_, str>) -> Cow<'_, str>
Expand description
Assure that s
is decomposed, i.e. ä
turns into a
and <umlaut>
.
At the expense of extra-compute, it does nothing if there is no work to be done, returning the original input without allocating.