4 ms·
That feature is almost assuredly not going to land on stable but the more general "deref_patterns" which would allow matching on boxed values, as well as on `Ve
by estebank 2y ago
That feature is almost assuredly not going to land on stable but the more general "deref_patterns" which would allow matching on boxed values, as well as on `Vec`s and `String`s will. It is not anywhere close to finished, but I am convinced it will land.
- airstrike 2y agoLinks with more info on the current state of deref patterns https://github.com/rust-lang/rust/issues/87121 https://github.com/rust-lang/rust/issues/87121 https://hackmd.io/4qDDMcvyQ-GDB089IPcHGg https://hackmd.io/4qDDMcvyQ-GDB089IPcHGg
- spoiler 2y agoOh I missed that one. Thanks for pointing it out! Here's the proposal for anyone else who's curious https://hackmd.io/4qDDMcvyQ-GDB089IPcHGg https://hackmd.io/4qDDMcvyQ-GDB089IPcHGg