Macro intern_all::i

source ·
macro_rules! i {
    ($name:expr) => { ... };
}
Expand description

Create a thread-local token instance and copy it. This ensures that the interner will only be called the first time the expresion is executed, and subsequent calls will just copy the token. Accepts a single static expression (i.e. a literal).