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


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