Skip to content

upgrade blackbox rust_testing_framework_tester #2108

upgrade blackbox rust_testing_framework_tester

upgrade blackbox rust_testing_framework_tester #2108

GitHub Actions / clippy failed Aug 20, 2024 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (1)

contracts/feature-tests/rust-testing-framework-tester/tests/tester_blackbox_test.rs|47 col 38| warning: redundant closure
--> contracts/feature-tests/rust-testing-framework-tester/tests/tester_blackbox_test.rs:47:38
|
47 | let handler = std::thread::spawn(|| tester_deploy_test());
| ^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: tester_deploy_test
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: #[warn(clippy::redundant_closure)] on by default

Filtered Findings (0)

Annotations

Check warning on line 47 in contracts/feature-tests/rust-testing-framework-tester/tests/tester_blackbox_test.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/feature-tests/rust-testing-framework-tester/tests/tester_blackbox_test.rs#L47

warning: redundant closure
  --> contracts/feature-tests/rust-testing-framework-tester/tests/tester_blackbox_test.rs:47:38
   |
47 |     let handler = std::thread::spawn(|| tester_deploy_test());
   |                                      ^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tester_deploy_test`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
   = note: `#[warn(clippy::redundant_closure)]` on by default
Raw output
contracts/feature-tests/rust-testing-framework-tester/tests/tester_blackbox_test.rs:47:38:w:warning: redundant closure
  --> contracts/feature-tests/rust-testing-framework-tester/tests/tester_blackbox_test.rs:47:38
   |
47 |     let handler = std::thread::spawn(|| tester_deploy_test());
   |                                      ^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tester_deploy_test`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
   = note: `#[warn(clippy::redundant_closure)]` on by default


__END__