Macro const_str::to_ascii_lowercase[][src]

macro_rules! to_ascii_lowercase {
    ($s : expr) => { ... };
}
Expand description

Returns a copy of this string where each character is mapped to its ASCII lower case equivalent.

Examples

const S: &str = "Hello, World";
assert_eq!(const_str::to_ascii_lowercase!(S), "hello, world");