[][src]Function unicode_normalization::is_nfc_quick

pub fn is_nfc_quick<I: Iterator<Item = char>>(s: I) -> IsNormalized

Quickly check if a string is in NFC, potentially returning IsNormalized::Maybe if further checks are necessary. In this case a check like s.chars().nfc().eq(s.chars()) should suffice.