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
Although // and //// are both regarded as non-doc-comments, there is a difference in treatment of carriage return.
//
////
That is,
// Non-doc-comment with bare CR: '^M' //// Non-doc-comment with bare CR: '^M' fn main () {}
where '^M' is a carriage return, fails at line 2.
At least rustc diagnoses a wrong message: "bare CR not allowed in doc-comment".
Tested on Rust 1.16.0.
The text was updated successfully, but these errors were encountered:
Rollup merge of rust-lang#41827 - qnighy:allow-bare-cr-in-nondoc-comm…
933df89
…ent, r=estebank Allow bare CR in ////-style comment. Fixes rust-lang#40624 in a way that bare CR is allowed in all non-doc comments.
No branches or pull requests
Although
//
and////
are both regarded as non-doc-comments, there is a difference in treatment of carriage return.That is,
where '^M' is a carriage return, fails at line 2.
At least rustc diagnoses a wrong message: "bare CR not allowed in doc-comment".
Tested on Rust 1.16.0.
The text was updated successfully, but these errors were encountered: