duplicate 2.0.1

Provides macros for duplication of code with variable substitution.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use duplicate::*;
pub struct SomeName1();
pub struct SomeName2(u8);
pub struct SomeName3(u8);
const SomeName4: u8 = 4;
pub struct SomeName5(u8);
fn some_fn6() {
    let SomeName6;
}
fn some_fn7() {
    7;
}
pub struct SomeName8();