Skip to content
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

Space before ? #5719

Closed
burdges opened this issue Mar 21, 2023 · 1 comment
Closed

Space before ? #5719

burdges opened this issue Mar 21, 2023 · 1 comment

Comments

@burdges
Copy link

burdges commented Mar 21, 2023

It appears rust fmt want f()?; instead of f() ?; but why? Or what options control this? There maybe situations where the f()?; meshes better with other concerns, but but overall f() ?; should be preferred, as it makes the error path slightly more visible.

@ytmimi
Copy link
Contributor

ytmimi commented Mar 21, 2023

Thanks for reaching out, but going to close this as a duplicate of #5595. There currently is no option to add a space before the try operator.

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

No branches or pull requests

2 participants