36 ms·
That syntax is not valid Rust, though you're right it's sorta similar to destructuring. I wasn't thinking of it specifically, but of some of the sorta-proposed
by steveklabnik 4y ago
That syntax is not valid Rust, though you're right it's sorta similar to destructuring. I wasn't thinking of it specifically, but of some of the sorta-proposed syntaxes by various folks in blog posts or on internals. And yeah, it's not insurmountable of an issue.
- roarcher 4y agoOh I know, it's just an idea of a possible syntax. Something like that might look a little funny but it doesn't seem too terrible to me. Anyway, thanks for the work you do on Rust! It's always my first choice of language when I have one.
- steveklabnik 4y agoYou're welcome, though I don't do any of that any more.