Merge pull request #2419 from phansch/fix_doc_comment_false_positive
Fix false positive in empty_line_after_outer_attr
This commit is contained in:
commit
bef22006b4
2 changed files with 9 additions and 1 deletions
|
|
@ -47,6 +47,11 @@ struct Foo {
|
|||
mod foo {
|
||||
}
|
||||
|
||||
/// This doc comment should not produce a warning
|
||||
|
||||
/** This is also a doc comment and should not produce a warning
|
||||
*/
|
||||
|
||||
// This should not produce a warning
|
||||
#[allow(non_camel_case_types)]
|
||||
#[allow(missing_docs)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue