Macro cstr

Source
macro_rules! cstr {
    ($str:literal) => { ... };
}
👎Deprecated: use c-string literals instead
Expand description

Create a &'static CStr from a string literal. Panics at compile time if given string literal contains null bytes.