Fix rustdoc and clippy
This commit is contained in:
parent
7e0f5b5016
commit
f321f107e3
31 changed files with 135 additions and 122 deletions
|
@ -1145,6 +1145,7 @@ impl AttributeExt for Attribute {
|
|||
}
|
||||
|
||||
fn is_doc_comment(&self) -> bool {
|
||||
// FIXME(jdonszelmann): make the 2nd check unnecessary here
|
||||
matches!(self, Attribute::Parsed(AttributeKind::DocComment { .. }))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue