Merge pull request #19 from worldcoin/0xkitsune/remove-zsh #24
GitHub Actions / clippy
succeeded
Oct 27, 2023 in 0s
clippy
1 warning
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 1 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.74.0-nightly (4e78abb43 2023-08-28)
- cargo 1.74.0-nightly (925280f02 2023-08-25)
- clippy 0.1.73 (4e78abb 2023-08-28)
Annotations
Check warning on line 86 in crates/tree_availability/src/world_tree/tree_data.rs
github-actions / clippy
called `unwrap` on `root` after checking its variant with `is_none`
warning: called `unwrap` on `root` after checking its variant with `is_none`
--> crates/tree_availability/src/world_tree/tree_data.rs:86:24
|
79 | if root.is_none() {
| ----------------- help: try: `if let Some(..) = root`
...
86 | let root = root.unwrap();
| ^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap
= note: `#[warn(clippy::unnecessary_unwrap)]` on by default
Loading