Using `for` instead of `match { None => {}, Some(_) => {...} }` for clarity and shorter code.