-
Notifications
You must be signed in to change notification settings - Fork 69
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
Reformat all comments using rustfmt #29
Conversation
Signed-off-by: Alex Saveau <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay. That looks good. Out of curiosity is there any specific config you used? I generally have VS Code auto-format all the time, so I'm surprised there's so many comments not formatted. Did you make some local changes to the rustfmt config?
I'm getting no change at all with |
Yeah, it's a nightly configuration: https://rust-lang.github.io/rustfmt/?version=master&search=wrap_c#wrap_comments. |
Can you please add the |
Ah I guess I need also unstable_features = true
wrap_comments=true |
Signed-off-by: Alex Saveau <[email protected]>
Does unstable_features work? I did have to manually edit the example comments and your right my rustfmt had an extra config for imports. |
Hmmm, I'm not sure CI is actually set up to check clippy or fmt. I get tons of errors:
|
Ah yes obviously if we add some unstable feature to |
Also yes the config I pasted worked for me without any additional settings. I upgraded Rust to latest first, then ran |
This reverts commit b8ecee0.
Probably, but can that be done in another PR? |
No description provided.