Skip to content

Commit

Permalink
clippy lints: update doctest ranges to inclusive ones
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaskrgr committed Sep 25, 2021
1 parent c3515c3 commit d888b4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clippy_lints/src/matches.rs
Expand Up @@ -183,8 +183,8 @@ declare_clippy_lint! {
/// ```rust
/// let x = 5;
/// match x {
/// 1...10 => println!("1 ... 10"),
/// 5...15 => println!("5 ... 15"),
/// 1..=10 => println!("1 ... 10"),
/// 5..=15 => println!("5 ... 15"),
/// _ => (),
/// }
/// ```
Expand Down

0 comments on commit d888b4b

Please sign in to comment.