From: bors Date: Mon, 27 May 2019 03:38:19 +0000 (+0000) Subject: Auto merge of #4148 - sanxiyn:typo, r=Manishearth X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=abe139c7ac7d5a33a6edb60ba0d4eb4dfaf11103;hp=46e64911ad43c519c61d22afef7f82625dd9c4a8;p=rust.git Auto merge of #4148 - sanxiyn:typo, r=Manishearth Fix typo in comment --- diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs index de7d5a46453..4e57b46207d 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<'_>,