macroweave 0.1.0

Procedural macros for small compile-time repetitions over Rust token sequences.
Documentation
1
2
3
4
5
6
7
use macroweave::repeat;

fn main() {
    repeat!((T, Kind) in [[u16, Small]] {
        let _ = stringify!(T Kind);
    });
}