From d1a0f2f0eb8a567d9a867b1b480f147210efdd10 Mon Sep 17 00:00:00 2001 From: Arseny Sher Date: Fri, 10 Mar 2023 00:37:11 +0400 Subject: [PATCH] Fix example why manual-range-contains is disabled. --- run_clippy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_clippy.sh b/run_clippy.sh index 0558541089..be07a0110a 100755 --- a/run_clippy.sh +++ b/run_clippy.sh @@ -13,7 +13,7 @@ # script that checks every feature. # # manual-range-contains wants -# !(8..=MAX_STARTUP_PACKET_LENGTH).contains(&len) +# !(4..=MAX_STARTUP_PACKET_LENGTH).contains(&len) # instead of # len < 4 || len > MAX_STARTUP_PACKET_LENGTH # , let's disagree.