Macro const_str::to_uppercase[][src]

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

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

See str::to_uppercase.

Examples

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