Skip to content

Commit abe139c

Browse files
committed
Auto merge of #4148 - sanxiyn:typo, r=Manishearth
Fix typo in comment
2 parents 46e6491 + 2c53a3f commit abe139c

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)