Macro const_str::to_lowercase[][src]

macro_rules! to_lowercase {
    ($str:literal) => { ... };
}

Returns the lowercase equivalent of this string literal, as a new string literal.

See str::to_lowercase.

Examples

assert_eq!("hello", const_str::to_lowercase!("HELLO"));