reviewdog [clippy] report
reported by reviewdog 🐶
Findings (2)
framework/base/src/contract_base/wrappers/call_value_wrapper.rs|159 col 17| warning: this let-binding has unit value
--> framework/base/src/contract_base/wrappers/call_value_wrapper.rs:159:17
|
159 | let _ = A::managed_type_impl().mb_overwrite(all_transfers_handle.clone(), &[]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: A::managed_type_impl().mb_overwrite(all_transfers_handle.clone(), &[]);
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
= note: #[warn(clippy::let_unit_value)]
on by default
framework/base/src/contract_base/wrappers/call_value_wrapper.rs|159 col 17| warning: this let-binding has unit value
--> framework/base/src/contract_base/wrappers/call_value_wrapper.rs:159:17
|
159 | let _ = A::managed_type_impl().mb_overwrite(all_transfers_handle.clone(), &[]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: A::managed_type_impl().mb_overwrite(all_transfers_handle.clone(), &[]);
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
= note: #[warn(clippy::let_unit_value)]
on by default
Filtered Findings (0)
Annotations
Check warning on line 159 in framework/base/src/contract_base/wrappers/call_value_wrapper.rs
github-actions / clippy
[clippy] framework/base/src/contract_base/wrappers/call_value_wrapper.rs#L159
warning: this let-binding has unit value
--> framework/base/src/contract_base/wrappers/call_value_wrapper.rs:159:17
|
159 | let _ = A::managed_type_impl().mb_overwrite(all_transfers_handle.clone(), &[]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the `let` binding: `A::managed_type_impl().mb_overwrite(all_transfers_handle.clone(), &[]);`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
= note: `#[warn(clippy::let_unit_value)]` on by default
Raw output
framework/base/src/contract_base/wrappers/call_value_wrapper.rs:159:17:w:warning: this let-binding has unit value
--> framework/base/src/contract_base/wrappers/call_value_wrapper.rs:159:17
|
159 | let _ = A::managed_type_impl().mb_overwrite(all_transfers_handle.clone(), &[]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the `let` binding: `A::managed_type_impl().mb_overwrite(all_transfers_handle.clone(), &[]);`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
= note: `#[warn(clippy::let_unit_value)]` on by default
__END__
Check warning on line 159 in framework/base/src/contract_base/wrappers/call_value_wrapper.rs
github-actions / clippy
[clippy] framework/base/src/contract_base/wrappers/call_value_wrapper.rs#L159
warning: this let-binding has unit value
--> framework/base/src/contract_base/wrappers/call_value_wrapper.rs:159:17
|
159 | let _ = A::managed_type_impl().mb_overwrite(all_transfers_handle.clone(), &[]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the `let` binding: `A::managed_type_impl().mb_overwrite(all_transfers_handle.clone(), &[]);`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
= note: `#[warn(clippy::let_unit_value)]` on by default
Raw output
framework/base/src/contract_base/wrappers/call_value_wrapper.rs:159:17:w:warning: this let-binding has unit value
--> framework/base/src/contract_base/wrappers/call_value_wrapper.rs:159:17
|
159 | let _ = A::managed_type_impl().mb_overwrite(all_transfers_handle.clone(), &[]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the `let` binding: `A::managed_type_impl().mb_overwrite(all_transfers_handle.clone(), &[]);`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
= note: `#[warn(clippy::let_unit_value)]` on by default
__END__