mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 17:18:32 +03:00
@@ -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<'_>,
|
||||
|
||||
Reference in New Issue
Block a user