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
Rustfmt with wrap_comments = true and max_width = 79 reformats this:
wrap_comments = true
max_width = 79
/// Foo /// /// ```rust /// # #![cfg_attr(not(dox),feature(cfg_target_feature, target_feature, stdsimd))] /// # #[cfg(not(dox))] /// # #[macro_use] /// # extern crate stdsimd; /// ``` fn foo() {}
to this:
/// Foo /// /// ```rust /// # #![cfg_attr(not(dox),feature(cfg_target_feature, target_feature, /// # stdsimd))] # #[cfg(not(dox))] /// # #[macro_use] /// # extern crate stdsimd; /// ``` fn foo() {}
which breaks rust doc because now there are two hashes # # in the second line.
# #
The text was updated successfully, but these errors were encountered:
With the latest from master, that won't happen because wrapping is disabled for doc tests #3183
Sorry, something went wrong.
Thanks, I guess we can close this then. Or shall we wait till it hits nightly?
could be good to wait for nightly so people may find it if they get the same problem
No branches or pull requests
Rustfmt with
wrap_comments = true
andmax_width = 79
reformats this:to this:
which breaks rust doc because now there are two hashes
# #
in the second line.The text was updated successfully, but these errors were encountered: