cm0002@lemmy.world to Programmer Humor@programming.dev · 7 days agoWhat's stopping you from writing your Rust like this?imagemessage-square58fedilinkarrow-up11arrow-down10cross-posted to: programmerhumor@lemmy.ml
arrow-up11arrow-down1imageWhat's stopping you from writing your Rust like this?cm0002@lemmy.world to Programmer Humor@programming.dev · 7 days agomessage-square58fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareDave.@aussie.zonelinkfedilinkarrow-up0·edit-27 days agorustfmt is stopping me from writing code like this, and I have never been more happier using it after viewing this.
minus-squarekilleronthecorner@lemmy.worldlinkfedilinkEnglisharrow-up0·6 days 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-squareirelephant [he/him]🍭@lemm.eelinkfedilinkEnglisharrow-up0·6 days agoCrap, thats what I was thinking.
minus-squareverstra@programming.devlinkfedilinkarrow-up0·6 days 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
Crap, thats what I was thinking.
It could be run after git checkout and then rustfmt before commit.
Slow down satan