1
Fork 0

Fix rustdoc and clippy

This commit is contained in:
Jana Dönszelmann 2025-02-09 22:49:57 +01:00
parent 7e0f5b5016
commit f321f107e3
No known key found for this signature in database
31 changed files with 135 additions and 122 deletions

View file

@ -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 { .. }))
}