cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agoWhat's stopping you from writing your Rust like this?lemmy.mlexternal-linkmessage-square58fedilinkarrow-up1392arrow-down18cross-posted to: programmerhumor@lemmy.ml
arrow-up1384arrow-down1external-linkWhat's stopping you from writing your Rust like this?lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square58fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squarekilleronthecorner@lemmy.worldlinkfedilinkEnglisharrow-up55·2 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 🍭@lemm.eelinkfedilinkEnglisharrow-up8·2 days agoCrap, thats what I was thinking.
minus-squareverstra@programming.devlinkfedilinkarrow-up8·1 day agoIt could be run after git checkout and then rustfmt before commit.
minus-squarenintendiator@feddit.cllinkfedilinkEnglisharrow-up1·1 day agoPlease do, I’m waiting for it to get ported to other languages.
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.