Skip to main content

to_ascii_lowercase

Function to_ascii_lowercase 

Source
pub open spec fn to_ascii_lowercase(c: char) -> char
Expand description
{ if is_ascii_uppercase(c) { (c as u32 + 32) as char } else { c } }

Makes a copy of the value in its ASCII lower case equivalent. https://doc.rust-lang.org/std/primitive.char.html#method.to_ascii_lowercase.