3 ms·
Thank you, seriously. I use shadowing all the time, especially when unwrapping results and options. I don't know if it's idiomatic, but I find it keeps things
by bluejekyll 10y ago
Thank you, seriously. I use shadowing all the time, especially when unwrapping results and options.
I don't know if it's idiomatic, but I find it keeps things cleaner by not having to define lots of different names for essentially the same variable.