Skip to content

initial commit

initial commit #2

GitHub Actions / clippy failed Oct 9, 2023 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (1)

bridged-tokens-wrapper/tests/dfp_big_uint_test.rs|15 col 22| warning: redundant clone
--> bridged-tokens-wrapper/tests/dfp_big_uint_test.rs:15:22
|
15 | assert!(converted.clone().convert(5).to_raw() == 12345u64);
| ^^^^^^^^ help: remove this
|
note: this value is dropped without further use
--> bridged-tokens-wrapper/tests/dfp_big_uint_test.rs:15:13
|
15 | assert!(converted.clone().convert(5).to_raw() == 12345u64);
| ^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone
= note: #[warn(clippy::redundant_clone)] on by default

Filtered Findings (0)

Annotations

Check warning on line 15 in bridged-tokens-wrapper/tests/dfp_big_uint_test.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] bridged-tokens-wrapper/tests/dfp_big_uint_test.rs#L15

warning: redundant clone
  --> bridged-tokens-wrapper/tests/dfp_big_uint_test.rs:15:22
   |
15 |     assert!(converted.clone().convert(5).to_raw() == 12345u64);
   |                      ^^^^^^^^ help: remove this
   |
note: this value is dropped without further use
  --> bridged-tokens-wrapper/tests/dfp_big_uint_test.rs:15:13
   |
15 |     assert!(converted.clone().convert(5).to_raw() == 12345u64);
   |             ^^^^^^^^^
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone
   = note: `#[warn(clippy::redundant_clone)]` on by default
Raw output
bridged-tokens-wrapper/tests/dfp_big_uint_test.rs:15:22:w:warning: redundant clone
  --> bridged-tokens-wrapper/tests/dfp_big_uint_test.rs:15:22
   |
15 |     assert!(converted.clone().convert(5).to_raw() == 12345u64);
   |                      ^^^^^^^^ help: remove this
   |
note: this value is dropped without further use
  --> bridged-tokens-wrapper/tests/dfp_big_uint_test.rs:15:13
   |
15 |     assert!(converted.clone().convert(5).to_raw() == 12345u64);
   |             ^^^^^^^^^
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone
   = note: `#[warn(clippy::redundant_clone)]` on by default


__END__