Skip to content

Commit e9be753

Browse files
committed
Allow range_plus_one while ..= ranges are unstable
1 parent d8e0123 commit e9be753

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/ranges.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ declare_lint! {
5555
/// ```
5656
declare_lint! {
5757
pub RANGE_PLUS_ONE,
58-
Warn,
58+
Allow,
5959
"`x..(y+1)` reads better as `x..=y`"
6060
}
6161

0 commit comments

Comments
 (0)