Rustup to rust-lang/rust#67151
This commit is contained in:
parent
6bf87d5bbf
commit
cf76eb48de
@ -94,7 +94,7 @@ fn check_missing_docs_attrs(
|
||||
|
||||
let has_doc = attrs
|
||||
.iter()
|
||||
.any(|a| a.check_name(sym!(doc)) && (a.is_value_str() || Self::has_include(a.meta())));
|
||||
.any(|a| a.is_doc_comment() || a.doc_str().is_some() || a.is_value_str() || Self::has_include(a.meta()));
|
||||
if !has_doc {
|
||||
span_lint(
|
||||
cx,
|
||||
|
Loading…
Reference in New Issue
Block a user