Skip to content

Paymaster audit fixes #141

Paymaster audit fixes

Paymaster audit fixes #141

GitHub Actions / clippy succeeded Oct 10, 2023 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (0)
Filtered Findings (2)

contracts/paymaster/src/forward_call.rs|54 col 44| warning: redundant clone
--> contracts/paymaster/src/forward_call.rs:54:44
|
54 | err_result.push(err.err_msg.clone());
| ^^^^^^^^ help: remove this
|
note: this value is dropped without further use
--> contracts/paymaster/src/forward_call.rs:54:33
|
54 | err_result.push(err.err_msg.clone());
| ^^^^^^^^^^^
= 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
contracts/paymaster/src/forward_call.rs|54 col 44| warning: redundant clone
--> contracts/paymaster/src/forward_call.rs:54:44
|
54 | err_result.push(err.err_msg.clone());
| ^^^^^^^^ help: remove this
|
note: this value is dropped without further use
--> contracts/paymaster/src/forward_call.rs:54:33
|
54 | err_result.push(err.err_msg.clone());
| ^^^^^^^^^^^
= 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