Searched refs:SURROGATE_LENGTH (Results 1 – 1 of 1) sorted by relevance
3 const SURROGATE_LENGTH: usize = 3; constant15 if let Some(surrogate) = suffix.get(..SURROGATE_LENGTH) { in ends_with()32 suffix = &suffix[SURROGATE_LENGTH..]; in ends_with()42 prefix.len().checked_sub(SURROGATE_LENGTH) in starts_with()