why? In my case, there's been a number of times where unused var warnings have stopped me from shadowing a variable (almost always a bug)
-
-
-
I guess it depends on your programming style. I tend to shadow variables intentionally, but not everyone does.
- 1 more reply
New conversation -
-
-
"let mut" vs "let" is overrated. Adds nothing the compiler doesn’t already know.
-
Intent is important IMO. Been saved by the lint a lot.
- 1 more reply
New conversation -
-
-
holy wow i didn't know that was a warning that the compiler could give you!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Glad I'm not the only one who appreciates this.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.