4 ms·
>Your auto formatter can’t figure out where you missed braces either. I mean, it kinda does? You get a result that's wrongly indented if you miss a brace.
by ImprobableTruth 5y ago
>Your auto formatter can’t figure out where you missed braces either.
I mean, it kinda does? You get a result that's wrongly indented if you miss a brace.
- aEverr 5y agowell yeah, then what? where would the missing brace be? you can't really tell since now the formatter clobbered your indentation, unless you remember, of course
- fanf2 5y agoWhen this happens to me with `cargo fmt` I don’t need to remember, I can just revert the formatting changes using undo in Emacs.