What's stopping you from writing your Rust like this?
What's stopping you from writing your Rust like this?


You're viewing a single thread.
All comments
46
comments
rustfmt
is stopping me from writing code like this, and I have never been more happier using it after viewing this.
71 0 ReplyI'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
60 0 ReplyCrap, thats what I was thinking.
11 0 ReplyIt could be run after git checkout and then rustfmt before commit.
10 0 ReplySlow down satan
5 0 Reply
Please do, I'm waiting for it to get ported to other languages.
1 0 Reply
46
comments
Scroll to top