We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am not totally sure if this is a bug or if there is any reason for it but i have some rust code as follows:
let var = funct().0.0;
When i run rustfmt it is adding an extra space to that line so it becomes:
rustfmt
let var = funct().0 .0;
For reference, in this example, funct is something as:
funct
fn funct() -> (type1, type2)
and type1 is something as:
type1
struct type1(u32);
The text was updated successfully, but these errors were encountered:
Thanks for reaching out but going to close as a duplicate. The behavior is explained, along with some available options, in the issues linked below.
#4355 (comment), #4779
(edit, fix typo)
Sorry, something went wrong.
Thanks, sorry i didn't checked the amount of already closed issues for the same problem before opening.
No branches or pull requests
I am not totally sure if this is a bug or if there is any reason for it but i have some rust code as follows:
When i run
rustfmt
it is adding an extra space to that line so it becomes:For reference, in this example,
funct
is something as:and
type1
is something as:The text was updated successfully, but these errors were encountered: