News for hackers. Stuff that matters.
Re:Things you can’t do you in Rust: destructure vectors by dbrgn on Sunday December 03, 2017 @12:07PM (#15838407)
This is actually not true. You can't do it in stable rust, but on nightly slice destructuring has been possible for a while now (just as the compile error indicates).

See:

- https://doc.rust-lang.org/unstable-book/language-features/sl...

- https://doc.rust-lang.org/unstable-book/language-features/ad...

There are no comments on this comment yet.