Skip to main content

normalize

Function normalize 

Source
pub fn normalize(s: &str, form: NormalForm) -> String
Expand description

The string in the normal form asked for.

A string of ASCII is in every normal form already, and that is the common case in a database, so it is the case that costs a scan and no allocation beyond the answer.