Skip to content

Commit 0636a66

Browse files
committed
Incorporate 1f95515
1 parent cb45963 commit 0636a66

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
@@ -661,7 +661,7 @@ impl<'fmt, 'tcx> FormatArgsArg<'fmt, 'tcx> {
661661
if let ExprKind::Call(_, [_, format_field]) = self.arg.kind;
662662
if let ExprKind::Path(QPath::Resolved(_, path)) = format_field.kind;
663663
if let [.., t, _] = path.segments;
664-
if t.ident.name.as_str() == "Display";
664+
if t.ident.name == sym::Display;
665665
then { true } else { false }
666666
}
667667
}

0 commit comments

Comments
 (0)