External Publication
Visit Post

Sized (or Sizeable) str, e.g. str<const N: usize>

Rust Internals [Unofficial] May 4, 2026
Source

You'd have to use const TEXT: &::core::primitive::str = $text to be doubly sure

Discussion in the ATmosphere

Loading comments...