Replies: 1 comment
-
This is correct as per Style Guide Prescription - https://doc.rust-lang.org/nightly/style-guide/expressions.html#binary-operations |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I just wrote this code, and this is how
rustfmt
decided to format it:The thing that throws me off is that
== 0
was put on its own line. Am I the only one who thinksmakes more sense?
Beta Was this translation helpful? Give feedback.
All reactions