Function replace_ascii

Source
unsafe fn replace_ascii(utf8_bytes: &[u8], from: u8, to: u8) -> String
Expand description

Faster implementation of string replacement for ASCII to ASCII cases. Should produce fast vectorized code.