2 Checks for inclusive ranges where 1 is subtracted from
3 the upper bound, e.g., `x..=(y-1)`.
6 The code is more readable with an exclusive range
10 This will cause a warning that cannot be fixed if
11 the consumer of the range only accepts a specific range type, instead of
12 the generic `RangeBounds` trait
13 ([#3307](https://github.com/rust-lang/rust-clippy/issues/3307)).