mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
clippy lints: update doctest ranges to inclusive ones
This commit is contained in:
parent
c3515c301d
commit
d888b4b98c
@ -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"),
|
||||
/// _ => (),
|
||||
/// }
|
||||
/// ```
|
||||
|
Loading…
Reference in New Issue
Block a user