2 ms·
> 2. This actually bit me in the a__ when I misspelled my enum variant and instead match created a variable named like that, that captured everything and I got
by scotty79 4y ago
> 2.
This actually bit me in the a__ when I misspelled my enum variant and instead match created a variable named like that, that captured everything and I got only a warning and very wrong code.
I think there should be `let`s inside match block if matching creates some variables.