-
Notifications
You must be signed in to change notification settings - Fork 888
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
tab_spaces = 2 not work with match statement #6263
Comments
I already set it with |
so you do (though no indication of which version & toolchain you're using, sometimes people attempt to use unstable options from stable which aren't operative). however, there's other issues with your input and "should be" output that are indicative of broader skipped formatting; it's not just the opening indentation on each line. I'd bet that if you made some more noticeable changes that were intentionally misformatted then you'll notice that the match expression is being skipped, e.g.
if you are on nightly then you may need to try |
You can clone and test the source file. |
But the config does not work with
match
statementsee https://github.com/getong/rust_example/blob/10feae81e5a636da18427c5eb2036b2d7f6e3fd1/libp2p_workspace_example/libp2p_authenticate_example/src/main.rs#L98-L116
which should be
The text was updated successfully, but these errors were encountered: