]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #4148 - sanxiyn:typo, r=Manishearth
authorbors <bors@rust-lang.org>
Mon, 27 May 2019 03:38:19 +0000 (03:38 +0000)
committerbors <bors@rust-lang.org>
Mon, 27 May 2019 03:38:19 +0000 (03:38 +0000)
Fix typo in comment

clippy_lints/src/methods/mod.rs

index de7d5a46453adfb2e527eeeb2c5a2c8855767b28..4e57b46207d5fdc942fd31b29601346cd0106a9c 100644 (file)
@@ -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<'_>,