From e9be7530c661136019977acf2eb6682cc9b4c289 Mon Sep 17 00:00:00 2001 From: Niklas Fiekas Date: Sun, 8 Oct 2017 12:42:17 +0200 Subject: [PATCH] Allow range_plus_one while ..= ranges are unstable --- clippy_lints/src/ranges.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/ranges.rs b/clippy_lints/src/ranges.rs index 636a5d093be..aff0c4b08ab 100644 --- a/clippy_lints/src/ranges.rs +++ b/clippy_lints/src/ranges.rs @@ -55,7 +55,7 @@ declare_lint! { /// ``` declare_lint! { pub RANGE_PLUS_ONE, - Warn, + Allow, "`x..(y+1)` reads better as `x..=y`" }