diff options
| author | y21 <30553356+y21@users.noreply.github.com> | 2024-03-23 06:52:11 +0100 |
|---|---|---|
| committer | y21 <30553356+y21@users.noreply.github.com> | 2024-04-01 15:04:45 +0200 |
| commit | 91f514cc8360b369a7fe5f6108aae025b22a38db (patch) | |
| tree | 7826cfc3453cc41e138defdbd3c7fc75b2d3bbb1 /clippy_lints/src/methods/iter_count.rs | |
| parent | bd4d4561386c5b1219d8e8830869d39dea8149ed (diff) | |
fix fallout from previous commit
Diffstat (limited to 'clippy_lints/src/methods/iter_count.rs')
| -rw-r--r-- | clippy_lints/src/methods/iter_count.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/methods/iter_count.rs b/clippy_lints/src/methods/iter_count.rs index bcddc7c786a..209cf2fcc0a 100644 --- a/clippy_lints/src/methods/iter_count.rs +++ b/clippy_lints/src/methods/iter_count.rs @@ -37,7 +37,7 @@ pub(crate) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &Expr<'_>, recv: &'tcx E cx, ITER_COUNT, expr.span, - &format!("called `.{iter_method}().count()` on a `{caller_type}`"), + format!("called `.{iter_method}().count()` on a `{caller_type}`"), "try", format!( "{}.len()", |
