Allow range_plus_one while ..= ranges are unstable
This commit is contained in:
parent
d8e01237e2
commit
e9be7530c6
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ declare_lint! {
|
|||
/// ```
|
||||
declare_lint! {
|
||||
pub RANGE_PLUS_ONE,
|
||||
Warn,
|
||||
Allow,
|
||||
"`x..(y+1)` reads better as `x..=y`"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue