Inclusive ranges with ..=

Changes in new versions / Rust 1.26

// *** before: ***
for i in 1..11 {         // the upper bound is written one higher
    println!("{}", i);
}

let c = 'd';
match c {
    'a'...'z' => println!("lowercase"),   // patterns took three dots
    _ => println!("other"),
}

// *** in version 1.26: ***
for i in 1..=10 {        // the bound is included and plain to see
    println!("{}", i);
}

match c {
    'a'..='z' => println!("lowercase"),
    _ => println!("other"),
}