Skip to content

Merge pull request #47 from worldcoin/0xkitsune/inclusion-proof #138

Merge pull request #47 from worldcoin/0xkitsune/inclusion-proof

Merge pull request #47 from worldcoin/0xkitsune/inclusion-proof #138

GitHub Actions / clippy succeeded Nov 29, 2023 in 1s

clippy

3 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 3
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 95 in benches/tree_data.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

warning: useless use of `vec!`
  --> benches/tree_data.rs:95:50
   |
95 |     runtime.block_on(tree_data.insert_many_at(0, &vec![identity]));
   |                                                  ^^^^^^^^^^^^^^^ help: you can use a slice directly: `&[identity]`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
   = note: `#[warn(clippy::useless_vec)]` on by default

Check warning on line 99 in src/state_bridge/service.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

very complex type used. Consider factoring parts into `type` definitions

warning: very complex type used. Consider factoring parts into `type` definitions
  --> src/state_bridge/service.rs:96:10
   |
96 |       ) -> Result<
   |  __________^
97 | |         Vec<JoinHandle<Result<(), StateBridgeError<L1M, L2M>>>>,
98 | |         StateBridgeError<L1M, L2M>,
99 | |     > {
   | |_____^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
   = note: `#[warn(clippy::type_complexity)]` on by default

Check warning on line 99 in src/state_bridge/service.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

very complex type used. Consider factoring parts into `type` definitions

warning: very complex type used. Consider factoring parts into `type` definitions
  --> src/state_bridge/service.rs:96:10
   |
96 |       ) -> Result<
   |  __________^
97 | |         Vec<JoinHandle<Result<(), StateBridgeError<L1M, L2M>>>>,
98 | |         StateBridgeError<L1M, L2M>,
99 | |     > {
   | |_____^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
   = note: `#[warn(clippy::type_complexity)]` on by default