Skip to content

Commit

Permalink
Auto merge of #4967 - JohnTitor:update-test, r=phansch
Browse files Browse the repository at this point in the history
Rustup to rust-lang/rust#67151

changelog: none
  • Loading branch information
bors committed Dec 29, 2019
2 parents 6bf87d5 + cf76eb4 commit c807fbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/missing_doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ impl MissingDoc {

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,
Expand Down

0 comments on commit c807fbc

Please sign in to comment.