We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
where
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
There are already some issues about comments being removed by rustfmt, most notable #2781 and #3669.
I dare to open yet another issue as it's interesting that the removal happens for traits, but not for structs.
trait SomeTrait<T> // This comment will be removed by rustfmt where T: Copy, { } struct SomeStruct<T> // This comment won't be touched where T: Copy, { data: T, }
The text was updated successfully, but these errors were encountered:
Use generics span end as position before "where" in traits
987a6b2
Closes rust-lang#4211
Successfully merging a pull request may close this issue.
There are already some issues about comments being removed by rustfmt, most notable #2781 and #3669.
I dare to open yet another issue as it's interesting that the removal happens for traits, but not for structs.
The text was updated successfully, but these errors were encountered: