Skip to content

Commit

Permalink
Incorporate 1f95515
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Oct 8, 2021
1 parent 9f2bd79 commit 596a02f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_utils/src/higher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ impl<'fmt, 'tcx> FormatArgsArg<'fmt, 'tcx> {
if let ExprKind::Call(_, [_, format_field]) = self.arg.kind;
if let ExprKind::Path(QPath::Resolved(_, path)) = format_field.kind;
if let [.., t, _] = path.segments;
if t.ident.name.as_str() == "Display";
if t.ident.name == sym::Display;
then { true } else { false }
}
}
Expand Down

0 comments on commit 596a02f

Please sign in to comment.