You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For () returning expressions, check that the semicolon is inside/outside the block.
Either way it is fine, but consistency is best. Having the semicolon inside may be slightly nicer and more similar to, say, conditionals and loop bodies.
Categories (optional)
Kind: clippy::style
Drawbacks
It is subjective, so perhaps we should offer both ways, one enabled by default.