Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PRO-382: tree-availability-service and state-bridge-service-docs #20

Merged
merged 11 commits into from
Oct 31, 2023

updating docs

efc0efe
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

PRO-382: tree-availability-service and state-bridge-service-docs #20

updating docs
efc0efe
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Oct 31, 2023 in 0s

clippy

2 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 2
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 108 in crates/tree_availability/src/world_tree/tree_data.rs

See this annotation in the file changed.

@github-actions 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:108:24
    |
101 |         if root.is_none() {
    |         ----------------- help: try: `if let Some(..) = root`
...
108 |             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

Check warning on line 1 in crates/tree_availability/src/world_tree/tree_updater.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `AtomicBool`

warning: unused import: `AtomicBool`
 --> crates/tree_availability/src/world_tree/tree_updater.rs:1:25
  |
1 | use std::sync::atomic::{AtomicBool, AtomicU64};
  |                         ^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default