mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
Auto merge of #4967 - JohnTitor:update-test, r=phansch
Rustup to rust-lang/rust#67151 changelog: none
This commit is contained in:
commit
c807fbc8ba
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ impl MissingDoc {
|
||||||
|
|
||||||
let has_doc = attrs
|
let has_doc = attrs
|
||||||
.iter()
|
.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 {
|
if !has_doc {
|
||||||
span_lint(
|
span_lint(
|
||||||
cx,
|
cx,
|
||||||
|
|
Loading…
Reference in a new issue