Function make_lowercase

Source
fn make_lowercase<'a>(s: &'a str, buf: &'a mut [u8; 32]) -> &'a str
Expand description

If the string contains any uppercase characters, make a lowercase copy in the provided buffer space.

If anything goes wrong (including the buffer size being exceeded), return the original string.