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
Hello, I think this would be an interesting option to have. Just want to clarify, when the option is set to false, should it also have the .. to condense underscores? I saw that on (https://rust-lang.github.io/rustfmt/?version=v1.6.0&search=#condense_wildcard_suffixes)
So, I'm assuming that when this option is set to false, it can do both condensed and non-condensed versions.
The documentation demonstrates that when set to false rustfmt won't perform the transformation from (_, _, _) -> (..). If the user writes (..) in their code rustfmt won't change it either. When it's set to true rustfmt will always replace (_, _, _) with (..).
Activity
izyuumi commentedon Jun 22, 2024
Hello, I think this would be an interesting option to have. Just want to clarify, when the option is set to

false
, should it also have the..
to condense underscores? I saw that on (https://rust-lang.github.io/rustfmt/?version=v1.6.0&search=#condense_wildcard_suffixes)So, I'm assuming that when this option is set to
false
, it can do both condensed and non-condensed versions.ytmimi commentedon Jun 23, 2024
The documentation demonstrates that when set to
false
rustfmt won't perform the transformation from(_, _, _) -> (..)
. If the user writes(..)
in their code rustfmt won't change it either. When it's set totrue
rustfmt will always replace(_, _, _)
with(..)
.izyuumi commentedon Jun 24, 2024
That makes so much sense! Thank you very much.
PanieriLorenzo commentedon Apr 21, 2025
what's currently in the way of stabilizing this?