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
Checks for use of ///! and warns against it. For example:
///! This crate does cool things. pub fn example() {}
It’s not immediately obvious, but the doc comment is attached to the wrong item.
suspicious_doc_comment
suspicious
Users are less likely to make this mistake and be confused by it / have worse documentation because of it.
Nothing I can think of.
Could be written as:
//! This crate does cool things. pub fn example() {}
The text was updated successfully, but these errors were encountered:
4a2cb5a
Successfully merging a pull request may close this issue.
What it does
Checks for use of
///!
and warns against it. For example:It’s not immediately obvious, but the doc comment is attached to the wrong item.
Lint Name
suspicious_doc_comment
Category
suspicious
Advantage
Users are less likely to make this mistake and be confused by it / have worse documentation because of it.
Drawbacks
Nothing I can think of.
Example
Could be written as:
The text was updated successfully, but these errors were encountered: