What's stopping you from writing your Rust like this?
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.
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
Please do, I'm waiting for it to get ported to other languages.