bind2 0.1.0

Generate some let statements, similar to bind, but very lightweight
Documentation
1
2
3
4
5
6
7
8
9
10
11
use bind2::bind;

#[test]
fn test() {
    let (a, b) = (2, 3);
    bind!(a, &{b}, mut a, mut &b);
    let _ = (a, b);
    a = 2;
    b = &&3;
    let _ = (a, b);
}