removed multiversx-sdk dependency from multiversx-sc-scenario #144
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (2)
framework/snippets/src/network_response.rs|82 col 8| warning: needlessly taken reference of left operand
--> framework/snippets/src/network_response.rs:82:8
|
82 | if &tx.processing_type_on_destination != SC_DEPLOY_PROCESSING_TYPE {
| ----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| help: use the left value directly: tx.processing_type_on_destination
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref
= note: #[warn(clippy::op_ref)]
on by default
framework/snippets/src/network_response.rs|82 col 8| warning: needlessly taken reference of left operand
--> framework/snippets/src/network_response.rs:82:8
|
82 | if &tx.processing_type_on_destination != SC_DEPLOY_PROCESSING_TYPE {
| ----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| help: use the left value directly: tx.processing_type_on_destination
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref
= note: #[warn(clippy::op_ref)]
on by default
Filtered Findings (0)
Annotations
Check warning on line 82 in framework/snippets/src/network_response.rs
github-actions / clippy
[clippy] framework/snippets/src/network_response.rs#L82
warning: needlessly taken reference of left operand
--> framework/snippets/src/network_response.rs:82:8
|
82 | if &tx.processing_type_on_destination != SC_DEPLOY_PROCESSING_TYPE {
| ----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| help: use the left value directly: `tx.processing_type_on_destination`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref
= note: `#[warn(clippy::op_ref)]` on by default
Raw output
framework/snippets/src/network_response.rs:82:8:w:warning: needlessly taken reference of left operand
--> framework/snippets/src/network_response.rs:82:8
|
82 | if &tx.processing_type_on_destination != SC_DEPLOY_PROCESSING_TYPE {
| ----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| help: use the left value directly: `tx.processing_type_on_destination`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref
= note: `#[warn(clippy::op_ref)]` on by default
__END__
Check warning on line 82 in framework/snippets/src/network_response.rs
github-actions / clippy
[clippy] framework/snippets/src/network_response.rs#L82
warning: needlessly taken reference of left operand
--> framework/snippets/src/network_response.rs:82:8
|
82 | if &tx.processing_type_on_destination != SC_DEPLOY_PROCESSING_TYPE {
| ----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| help: use the left value directly: `tx.processing_type_on_destination`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref
= note: `#[warn(clippy::op_ref)]` on by default
Raw output
framework/snippets/src/network_response.rs:82:8:w:warning: needlessly taken reference of left operand
--> framework/snippets/src/network_response.rs:82:8
|
82 | if &tx.processing_type_on_destination != SC_DEPLOY_PROCESSING_TYPE {
| ----------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| help: use the left value directly: `tx.processing_type_on_destination`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref
= note: `#[warn(clippy::op_ref)]` on by default
__END__