Skip to content

Commit 2c53a3f

Browse files
committed
Fix typo in comment
1 parent 46e6491 commit 2c53a3f

File tree

1 file changed

+1
-1
lines changed
  • clippy_lints/src/methods

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2157,7 +2157,7 @@ fn lint_binary_expr_with_method_call(cx: &LateContext<'_, '_>, info: &mut Binary
21572157
lint_with_both_lhs_and_rhs!(lint_chars_last_cmp_with_unwrap, cx, info);
21582158
}
21592159

2160-
/// Wrapper fn for `CHARS_NEXT_CMP` and `CHARS_NEXT_CMP` lints.
2160+
/// Wrapper fn for `CHARS_NEXT_CMP` and `CHARS_LAST_CMP` lints.
21612161
fn lint_chars_cmp(
21622162
cx: &LateContext<'_, '_>,
21632163
info: &BinaryExprInfo<'_>,

0 commit comments

Comments
 (0)