Macro ascii

Source
macro_rules! ascii {
    ($x:literal) => { ... };
}
Expand description

Creates an AsciiStr from a string literal, throwing a compile error if the literal isn’t actually ascii.

ascii!("I ❤️ Rust & Python");