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
cargo fmt puts let-else on a single line, and it could do the same to if blocks that have a single expression (i.e. return, break, or continue). That way there can be a consistent style for all guards.
The text was updated successfully, but these errors were encountered:
I hope piggybacking is okay, but I expected the same for if let: the line if let Some(r) = right { stack.push(*r) }, reaching column 53, will be broken even with --config use_small_heuristics=max.
What did you expect?
What did you get?
cargo fmt
puts let-else on a single line, and it could do the same to if blocks that have a single expression (i.e.return
,break
, orcontinue
). That way there can be a consistent style for all guards.The text was updated successfully, but these errors were encountered: