The `r` assignment seems rather arbitrary. Also you can avoid the `#[allow(unused_variable)]` with `Err(_)` instead of `Err(e)`.