Skip to content

Commit c1d20e7

Browse files
committed
Incorporate 1f95515
1 parent 3ef03c7 commit c1d20e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_utils/src/higher.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ impl<'fmt, 'tcx> FormatArgsArg<'fmt, 'tcx> {
658658
if let ExprKind::Call(_, [_, format_field]) = self.arg.kind;
659659
if let ExprKind::Path(QPath::Resolved(_, path)) = format_field.kind;
660660
if let [.., t, _] = path.segments;
661-
if t.ident.name.as_str() == "Display";
661+
if t.ident.name == sym::Display;
662662
then { true } else { false }
663663
}
664664
}

0 commit comments

Comments
 (0)