Skip to content

Commit

Permalink
Incorporate 1f95515
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Oct 7, 2021
1 parent 3ef03c7 commit c1d20e7
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 c1d20e7

Please sign in to comment.