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
This can be somewhat mitigated by setting indent_style = "Visual", but:
a) I don't like that style very much, because the call chain becomes too indented (it looks worse when there are actual lambdas instead of ...)
Combination of hard_tabs = true and indent_style = "Visual" chose to align some parts of the call chain (except the first one) with elements of the vector. As result, .iter() looks very disconnected from the rest.
This is similar to #3157 but has different trigger.
The method chain, starting with
.iter()
should be indented, but it's not.This can be somewhat mitigated by setting
indent_style = "Visual"
, but:a) I don't like that style very much, because the call chain becomes too indented (it looks worse when there are actual lambdas instead of
...
)b) It conflicts with
hard_tabs = true
:Combination of
hard_tabs = true
andindent_style = "Visual"
chose to align some parts of the call chain (except the first one) with elements of the vector. As result,.iter()
looks very disconnected from the rest.This is similar to #3157 but has different trigger.
$ rustfmt --version
rustfmt 1.0.1-nightly (be13559 2018-12-10)
The text was updated successfully, but these errors were encountered: