Skip to content

Commit

Permalink
Ignore range_plus_one pedantic clippy lint
Browse files Browse the repository at this point in the history
    error: an inclusive range would be more readable
        --> src/expr.rs:2743:26
         |
    2743 |                 .subspan(part_end..part_end + 1)
         |                          ^^^^^^^^^^^^^^^^^^^^^^ help: use: `part_end..=part_end`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#range_plus_one
         = note: `-D clippy::range-plus-one` implied by `-D clippy::pedantic`
  • Loading branch information
dtolnay committed Apr 1, 2023
1 parent b80c69a commit b0861b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@
clippy::needless_doctest_main,
clippy::needless_pass_by_value,
clippy::never_loop,
clippy::range_plus_one,
clippy::redundant_else,
clippy::return_self_not_must_use,
clippy::similar_names,
Expand Down

0 comments on commit b0861b9

Please sign in to comment.