Ranges
https://doc.rust-lang.org/reference/expressions/range-expr.html
The .. syntax is a range literal. They can be open-ended, and their rightmost bound can be inclusive, if it's preceded by =.
fn main() { // 0 or greater println!("{:?}", (0..).contains(&100)); // true // strictly less than 20 println!("{:?}", (..20).contains(&20)); // false // 20 or less than 20 println!("{:?}", (..=20).contains(&20)); // true // only 3, 4, 5 println!("{:?}", (3..6).contains(&4)); // true }