mirror of https://github.com/aya-rs/aya
Appease clippy
```
error: match can be simplified with `.unwrap_or_default()`
--> aya/src/util.rs:157:13
|
157 | / match s.map(str::parse).transpose() {
158 | | Ok(option) => option,
159 | | Err(ParseIntError { .. }) => None,
160 | | }
| |_____________^ help: replace it with: `s.map(str::parse).transpose().unwrap_or_default()`
```
pull/909/head
parent
bf20a8c892
commit
78acd74bad
Loading…
Reference in New Issue