i can't recall a time where having to annotate a binding with mut actually saved me. it's just typing and one more compile/lint cycle i have to go through to get my code to compile
Conversation
I'm fairly convinced i prefer _reading_ code with mut on variables. It gives me immediate hints whether I'm reading something that's done in an imperative vs. functional way
2
3
yes, basically this. YMMV of course
2
1
I've already previously advocated for having rustc emit "fixits" for errors it knows unambiguously how to fix, like clang does, which IDEs can apply automatically
1
2
this is the goal of rustfix, in part. cc
3
2
Would be neat to do that for imports. Also give you the option to select from possible imports when it's not ambiguous.
2
2
Which direction? Adding imports from suggestions works in vscode. And for getting rid of unused imports, I opened github.com/rust-lang/rust just yesterday!
1
5
OHHHHHHH! It does??? This is awesome!
1
1
I think I might have been using the stable rls, but I'm switching my machines back to nightly since it was announced rustfmt/rls were going to be guaranteed to not disappear from the nightly rustup.





