Skip to content

Add a feature to add a space between parenthesis and arguments #5710

New issue

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

Closed
Ultra980 opened this issue Mar 9, 2023 · 1 comment
Closed

Add a feature to add a space between parenthesis and arguments #5710

Ultra980 opened this issue Mar 9, 2023 · 1 comment

Comments

@Ultra980
Copy link

Ultra980 commented Mar 9, 2023

Hello,
Usually, when I write code, I write my functions like this:

fn add( a: i64, b: i64 ) {
    return a + b;
}

I also do this for while:

while ( true ) {
    // ...
}

Is there a way to do this with rustfmt? If there isn't, could it be added?

@ytmimi
Copy link
Contributor

ytmimi commented Mar 9, 2023

Thanks for reaching out. Going to close this as a duplicate of #5435

@ytmimi ytmimi closed this as not planned Won't fix, can't repro, duplicate, stale Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants