clippy lints: update doctest ranges to inclusive ones

This commit is contained in:
Matthias Krüger 2021-09-10 23:47:51 +02:00
parent c3515c301d
commit d888b4b98c

View File

@ -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"),
/// _ => (),
/// }
/// ```