repetitive 0.3.2

Macro for generating repetitive code
Documentation
1
2
3
4
5
6
7
8
9
10
11
use repetitive::repetitive;

repetitive! {
    const _: () = assert!(@(@["Hello" "World"] == 'HelloWorld));
    const _: () = assert!(@(@['Hello "World"] == 'HelloWorld));
    const _: () = assert!(@(@["Hello" '_ 'Worl 'd] == 'Hello_World));

    const _: () = assert!(@(@str["Hello" "World"] == "HelloWorld"));
    const _: () = assert!(@(@str['Hello "World"] == "HelloWorld"));
    const _: () = assert!(@(@str["Hello " 'Worl 'd] == "Hello World"));
}