@[email protected] to Programmer [email protected] • 2 months agoWhat's stopping you from writing your Rust like this?lemmy.mlimagemessage-square61fedilinkarrow-up1401cross-posted to: [email protected]
arrow-up1401imageWhat's stopping you from writing your Rust like this?lemmy.ml@[email protected] to Programmer [email protected] • 2 months agomessage-square61fedilinkcross-posted to: [email protected]
minus-squareDave.linkfedilink71•edit-22 months agorustfmt is stopping me from writing code like this, and I have never been more happier using it after viewing this.
minus-square@[email protected]linkfedilinkEnglish59•2 months agoI’m going to write a tool that automatically adds the braces and semicolons to the column as you edit the code. I will call it rustfml
minus-square@[email protected]linkfedilink10•2 months agoIt could be run after git checkout and then rustfmt before commit.
minus-square@[email protected]linkfedilinkEnglish1•2 months agoPlease do, I’m waiting for it to get ported to other languages.
rustfmt
is stopping me from writing code like this, and I have never been more happier using it after viewing this.
I’m going to write a tool that automatically adds the braces and semicolons to the column as you edit the code.
I will call it
rustfml
Crap, thats what I was thinking.
It could be run after git checkout and then rustfmt before commit.
Slow down satan
Please do, I’m waiting for it to get ported to other languages.