bind2 0.1.0

Generate some let statements, similar to bind, but very lightweight
Documentation
Generate some let statements

Similar to [bind](https://github.com/oooutlk/bind), but very lightweight

## Grammar

grammar = \*(atom `,`) \[atom\]
atom = \[`mut`\] \*prefix name \*non-comma
prefix = `&` / `*` / `mut`
name = ident / `{` ident `}`

# Examples

```rust
use bind2::bind;

let (x, y, mut z, m, n) = (1, 2, 3, 4, 5);
bind!(x, &y, &mut z, m.to_owned(), mut &n);
```

Expand to:

```rust
let (x, y, mut z, m, n) = (1, 2, 3, 4, 5);
let x = x;
let y = &y;
let z = &mut z;
let m = m.to_owned();
let mut n = &n;
```

---

```rust
let x = "foo".to_owned();
let mut y = Some(8);

let f = || {
    bind2::bind!(mut x, mut y, y.take().unwrap());
    x.push_str(&y.to_string());
};
```