2 unstable releases

0.2.0 Dec 14, 2020
0.1.0 Dec 14, 2020

#17 in #assignment

MIT/Apache

3KB

DASSIGN: Destructuring assignment

Use this crate for simple tuple destructuring assignments while the compiler implementation of this feature is being stabilized.

let mut x;
let mut y;

for _ in 1..100 {
    dassign!((x, y) = func_returning_tuple());
}

Once this feature is stabilized simply remove the dassign! macro from your code.

Reference

Dependencies

~4KB