1
Fork 0

Fix formatting

This commit is contained in:
carbotaniuman 2024-05-27 11:45:32 -05:00
parent 8aa2553b50
commit 15f8ffe371
5 changed files with 25 additions and 7 deletions

View file

@ -312,7 +312,6 @@ impl<'tcx> CheckAttrVisitor<'tcx> {
true
}
/// Checks if `unsafe()` is applied to an invalid attribute.
fn check_unsafe_attr(&self, attr: &Attribute) {
if !attr.is_doc_comment() {