Allow range_plus_one while ..= ranges are unstable
This commit is contained in:
parent
d8e01237e2
commit
e9be7530c6
@ -55,7 +55,7 @@ declare_lint! {
|
|||||||
/// ```
|
/// ```
|
||||||
declare_lint! {
|
declare_lint! {
|
||||||
pub RANGE_PLUS_ONE,
|
pub RANGE_PLUS_ONE,
|
||||||
Warn,
|
Allow,
|
||||||
"`x..(y+1)` reads better as `x..=y`"
|
"`x..(y+1)` reads better as `x..=y`"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user