@cm0002 to Programmer [email protected] • 15 hours agoWhat's stopping you from writing your Rust like this?lemmy.mlimagemessage-square48arrow-up1313arrow-down15
arrow-up1308arrow-down1imageWhat's stopping you from writing your Rust like this?lemmy.ml@cm0002 to Programmer [email protected] • 15 hours agomessage-square48
minus-squareDave.linkfedilink58•edit-213 hours agorustfmt is stopping me from writing code like this, and I have never been more happier using it after viewing this.
minus-square@killeronthecornerlinkEnglish44•11 hours 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]linkfedilinkEnglish1•13 minutes agoPlease do, I’m waiting for it to get ported to other languages.
minus-square@[email protected]linkfedilink4•7 hours agoIt could be run after git checkout and then rustfmt before commit.
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
Please do, I’m waiting for it to get ported to other languages.
Crap, thats what I was thinking.
It could be run after git checkout and then rustfmt before commit.
Slow down satan