Skip to content

Commit d888b4b

Browse files
committed
clippy lints: update doctest ranges to inclusive ones
1 parent c3515c3 commit d888b4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/matches.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ declare_clippy_lint! {
183183
/// ```rust
184184
/// let x = 5;
185185
/// match x {
186-
/// 1...10 => println!("1 ... 10"),
187-
/// 5...15 => println!("5 ... 15"),
186+
/// 1..=10 => println!("1 ... 10"),
187+
/// 5..=15 => println!("5 ... 15"),
188188
/// _ => (),
189189
/// }
190190
/// ```

0 commit comments

Comments
 (0)