Skip to content

payable features interactor - initial commit

Sign in for the full log view
GitHub Actions / clippy failed Dec 27, 2024 in 1s

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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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__