> I believe the intention was to allow `mut` in the same places you could put `ref` today in a pattern match.
I was also under this impression, though I've never seen it explicitly laid out anywhere. Would be nice to see if the devs are on board with this extension to the pattern grammar.
_______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev