From 2c53a3f970c9e3d23e461c10cc9db96b937a2692 Mon Sep 17 00:00:00 2001 From: Seo Sanghyeon Date: Mon, 27 May 2019 12:32:04 +0900 Subject: [PATCH] Fix typo in comment --- clippy_lints/src/methods/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs index de7d5a46453a..4e57b46207d5 100644 --- a/clippy_lints/src/methods/mod.rs +++ b/clippy_lints/src/methods/mod.rs @@ -2157,7 +2157,7 @@ macro_rules! lint_with_both_lhs_and_rhs { lint_with_both_lhs_and_rhs!(lint_chars_last_cmp_with_unwrap, cx, info); } -/// Wrapper fn for `CHARS_NEXT_CMP` and `CHARS_NEXT_CMP` lints. +/// Wrapper fn for `CHARS_NEXT_CMP` and `CHARS_LAST_CMP` lints. fn lint_chars_cmp( cx: &LateContext<'_, '_>, info: &BinaryExprInfo<'_>,