match number_str.parse::<i32>() {
Ok(n) => Ok(2 * n),
Err(err) => Err(err),
The right hand sides re-wrap these values into another Result.