We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following snippet has weird/partially unstable formatting:
macro_rules! foo { () => { #[doc = concat!("hello world") ] pub struct Foo; }; }
(playground)
Formatting it once makes the contents of the doc attribute and its closing bracket drift right:
doc
This happens again and again with every format until it hits the line length limit (I think):
This does not happen outside of a macro_rules body or if the doc attribute does not contain another macro.
macro_rules
The text was updated successfully, but these errors were encountered:
Thanks for reaching out. This is likely a duplicate of #5489, #5062
Sorry, something went wrong.
Right, that looks likely, didn't find those while searching.
Should I close this issue?
Yeah, let's close this.
No branches or pull requests
The following snippet has weird/partially unstable formatting:
(playground)
Formatting it once makes the contents of the
doc
attribute and its closing bracket drift right:This happens again and again with every format until it hits the line length limit (I think):
This does not happen outside of a
macro_rules
body or if thedoc
attribute does not contain another macro.The text was updated successfully, but these errors were encountered: