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
rust-lang/rust#119515 modified the Style Guide for 2024 to switch to single line formatting for type aliases and body-less functions with rules that included some new "short" thresholds.
Similar to exercises we've done with other 2024 changes, I'd like to review the formatting results under the new rules and thresholds to (a) confirm it's what the team wants and (b) see if there's any t-style input on those "short" thresholds
rust-lang/rust#119515 modified the Style Guide for 2024 to switch to single line formatting for type aliases and body-less functions with rules that included some new "short" thresholds.
This has been implemented in rustfmt with some suggested values for those "short" thresholds, with some examples shown in https://rust-lang.zulipchat.com/#narrow/channel/346005-t-style/topic/single.20line.20where.20clauses
Similar to exercises we've done with other 2024 changes, I'd like to review the formatting results under the new rules and thresholds to (a) confirm it's what the team wants and (b) see if there's any t-style input on those "short" thresholds
(sidebar but I will add that there was a comment from outside the team that expressed a dislike for the single line functions when the function had a return type)
The text was updated successfully, but these errors were encountered: