Skip to main content

eq_normalized

Function eq_normalized 

pub(crate) fn eq_normalized(input: &str, canonical: &str) -> bool
Expand description

Compares a caller’s spelling against a canonical name under normalize, without building either string.

Byte-wise is exact on UTF-8: normalize drops and folds only ASCII, and no byte of a multi-byte character is ASCII.