Proxy increase energy #3612
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (0)
Filtered Findings (67)
farm-staking/metabonding-staking/src/lib.rs|77 col 55| warning: redundant clone
--> farm-staking/metabonding-staking/src/lib.rs:77:55
|
77 | let unstake_amount = user_entry.unstake_amount.clone();
| ^^^^^^^^ help: remove this
|
note: cloned value is neither consumed nor mutated
--> farm-staking/metabonding-staking/src/lib.rs:77:30
|
77 | let unstake_amount = user_entry.unstake_amount.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
locked-asset/factory/tests/factory_setup/mod.rs|53 col 9| warning: this let-binding has unit value
--> locked-asset/factory/tests/factory_setup/mod.rs:53:9
|
53 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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
locked-asset/factory/tests/unlock_test.rs|778 col 5| warning: this let-binding has unit value
--> locked-asset/factory/tests/unlock_test.rs:778:5
|
778 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
dex/pair/tests/pair_rs_test.rs|959 col 5| warning: this let-binding has unit value
--> dex/pair/tests/pair_rs_test.rs:959:5
|
959 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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
dex/pair/tests/pair_rs_test.rs|1080 col 5| warning: this let-binding has unit value
--> dex/pair/tests/pair_rs_test.rs:1080:5
|
1080 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
locked-asset/token-unstake/tests/token_unstake_setup/mod.rs|68 col 9| warning: this let-binding has unit value
--> locked-asset/token-unstake/tests/token_unstake_setup/mod.rs:68:9
|
68 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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
locked-asset/token-unstake/tests/unlock_early_test.rs|12 col 5| warning: this let-binding has unit value
--> locked-asset/token-unstake/tests/unlock_early_test.rs:12:5
|
12 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
locked-asset/token-unstake/tests/token_unstake_setup/mod.rs|68 col 9| warning: this let-binding has unit value
--> locked-asset/token-unstake/tests/token_unstake_setup/mod.rs:68:9
|
68 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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
farm-staking/metabonding-staking/src/lib.rs|77 col 55| warning: redundant clone
--> farm-staking/metabonding-staking/src/lib.rs:77:55
|
77 | let unstake_amount = user_entry.unstake_amount.clone();
| ^^^^^^^^ help: remove this
|
note: cloned value is neither consumed nor mutated
--> farm-staking/metabonding-staking/src/lib.rs:77:30
|
77 | let unstake_amount = user_entry.unstake_amount.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
locked-asset/proxy_dex/tests/proxy_dex_test_setup/mod.rs|90 col 9| warning: this let-binding has unit value
--> locked-asset/proxy_dex/tests/proxy_dex_test_setup/mod.rs:90:9
|
90 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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
farm-staking/farm-staking/tests/farm_staking_energy_test.rs|23 col 5| warning: this let-binding has unit value
--> farm-staking/farm-staking/tests/farm_staking_energy_test.rs:23:5
|
23 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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
farm-staking/farm-staking/tests/farm_staking_energy_test.rs|59 col 5| warning: this let-binding has unit value
--> farm-staking/farm-staking/tests/farm_staking_energy_test.rs:59:5
|
59 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
dex/farm-with-locked-rewards/tests/farm_with_locked_rewards_test.rs|15 col 5| warning: this let-binding has unit value
--> dex/farm-with-locked-rewards/tests/farm_with_locked_rewards_test.rs:15:5
|
15 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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
dex/farm-with-locked-rewards/tests/farm_with_locked_rewards_test.rs|115 col 5| warning: this let-binding has unit value
--> dex/farm-with-locked-rewards/tests/farm_with_locked_rewards_test.rs:115:5
|
115 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
locked-asset/energy-factory/tests/energy_factory_setup/unbond_sc_mock.rs|38 col 63| warning: redundant clone
--> locked-asset/energy-factory/tests/energy_factory_setup/unbond_sc_mock.rs:38:63
|
38 | let locked_tokens_burn_amount = unlocked_tokens.amount.clone();
| ^^^^^^^^ help: remove this
|
note: cloned value is neither consumed nor mutated
--> locked-asset/energy-factory/tests/energy_factory_setup/unbond_sc_mock.rs:38:41
|
38 | let locked_tokens_burn_amount = unlocked_tokens.amount.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
locked-asset/energy-factory/tests/energy_factory_setup/mod.rs|55 col 9| warning: this let-binding has unit value
--> locked-asset/energy-factory/tests/energy_factory_setup/mod.rs:55:9
|
55 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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
locked-asset/proxy_dex/tests/proxy_dex_test_setup/mod.rs|90 col 9| warning: this let-binding has unit value
--> locked-asset/proxy_dex/tests/proxy_dex_test_setup/mod.rs:90:9
|
90 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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
energy-integration/fees-collector/tests/fees_collector_test_setup/mod.rs|111 col 9| warning: this let-binding has unit value
--> energy-integration/fees-collector/tests/fees_collector_test_setup/mod.rs:111:9
|
111 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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
farm-staking/metabonding-staking/tests/metabonding_staking_setup/mod.rs|50 col 9| warning: this let-binding has unit value
--> farm-staking/metabonding-staking/tests/metabonding_staking_setup/mod.rs:50:9
|
50 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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
dex/price-discovery/tests/price_disc_tests.rs|370 col 5| warning: this let-binding has unit value
--> dex/price-discovery/tests/price_disc_tests.rs:370:5
|
370 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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
dex/farm/tests/farm_setup/single_user_farm_setup.rs|187 col 9| warning: this let-binding has unit value
--> dex/farm/tests/farm_setup/single_user_farm_setup.rs:187:9
|
187 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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
dex/farm/tests/farm_setup/single_user_farm_setup.rs|303 col 9| warning: this let-binding has unit value
--> dex/farm/tests/farm_setup/single_user_farm_setup.rs:303:9
|
303 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
dex/farm/tests/farm_single_user_test.rs|212 col 5| warning: this let-binding has unit value
--> dex/farm/tests/farm_single_user_test.rs:212:5
|
212 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
locked-asset/energy-factory/tests/energy_factory_setup/unbond_sc_mock.rs|38 col 63| warning: redundant clone
--> locked-asset/energy-factory/tests/energy_factory_setup/unbond_sc_mock.rs:38:63
|
38 | let locked_tokens_burn_amount = unlocked_tokens.amount.clone();
| ^^^^^^^^ help: remove this
|
note: cloned value is neither consumed nor mutated
--> locked-asset/energy-factory/tests/energy_factory_setup/unbond_sc_mock.rs:38:41
|
38 | let locked_tokens_burn_amount = unlocked_tokens.amount.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
locked-asset/energy-factory/tests/energy_factory_setup/mod.rs|55 col 9| warning: this let-binding has unit value
--> locked-asset/energy-factory/tests/energy_factory_setup/mod.rs:55:9
|
55 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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
locked-asset/energy-factory/tests/old_tokens_test.rs|24 col 5| warning: this let-binding has unit value
--> locked-asset/energy-factory/tests/old_tokens_test.rs:24:5
|
24 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
locked-asset/energy-factory/tests/old_tokens_test.rs|143 col 5| warning: this let-binding has unit value
--> locked-asset/energy-factory/tests/old_tokens_test.rs:143:5
|
143 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
locked-asset/energy-factory/tests/old_tokens_test.rs|253 col 5| warning: this let-binding has unit value
--> locked-asset/energy-factory/tests/old_tokens_test.rs:253:5
|
253 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
locked-asset/energy-factory/tests/old_tokens_test.rs|373 col 5| warning: this let-binding has unit value
--> locked-asset/energy-factory/tests/old_tokens_test.rs:373:5
|
373 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
locked-asset/energy-factory/tests/energy_factory_setup/unbond_sc_mock.rs|38 col 63| warning: redundant clone
--> locked-asset/energy-factory/tests/energy_factory_setup/unbond_sc_mock.rs:38:63
|
38 | let locked_tokens_burn_amount = unlocked_tokens.amount.clone();
| ^^^^^^^^ help: remove this
|
note: cloned value is neither consumed nor mutated
--> locked-asset/energy-factory/tests/energy_factory_setup/unbond_sc_mock.rs:38:41
|
38 | let locked_tokens_burn_amount = unlocked_tokens.amount.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
locked-asset/energy-factory/tests/energy_factory_setup/mod.rs|55 col 9| warning: this let-binding has unit value
--> locked-asset/energy-factory/tests/energy_factory_setup/mod.rs:55:9
|
55 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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
locked-asset/energy-factory/tests/token_merging_test.rs|34 col 5| warning: this let-binding has unit value
--> locked-asset/energy-factory/tests/token_merging_test.rs:34:5
|
34 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
locked-asset/energy-factory/tests/token_merging_test.rs|104 col 5| warning: this let-binding has unit value
--> locked-asset/energy-factory/tests/token_merging_test.rs:104:5
|
104 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
locked-asset/energy-factory/tests/token_merging_test.rs|174 col 5| warning: this let-binding has unit value
--> locked-asset/energy-factory/tests/token_merging_test.rs:174:5
|
174 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
locked-asset/energy-factory/tests/token_merging_test.rs|244 col 5| warning: this let-binding has unit value
--> locked-asset/energy-factory/tests/token_merging_test.rs:244:5
|
244 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
locked-asset/energy-factory/tests/token_merging_test.rs|374 col 5| warning: this let-binding has unit value
--> locked-asset/energy-factory/tests/token_merging_test.rs:374:5
|
374 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
dex/farm/tests/farm_setup/single_user_farm_setup.rs|187 col 9| warning: this let-binding has unit value
--> dex/farm/tests/farm_setup/single_user_farm_setup.rs:187:9
|
187 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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
dex/farm/tests/farm_setup/single_user_farm_setup.rs|303 col 9| warning: this let-binding has unit value
--> dex/farm/tests/farm_setup/single_user_farm_setup.rs:303:9
|
303 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
dex/farm/tests/farm_multi_user_test.rs|16 col 5| warning: this let-binding has unit value
--> dex/farm/tests/farm_multi_user_test.rs:16:5
|
16 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
dex/farm/tests/farm_multi_user_test.rs|114 col 5| warning: this let-binding has unit value
--> dex/farm/tests/farm_multi_user_test.rs:114:5
|
114 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
dex/farm/tests/farm_multi_user_test.rs|226 col 5| warning: this let-binding has unit value
--> dex/farm/tests/farm_multi_user_test.rs:226:5
|
226 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
dex/farm/tests/farm_multi_user_test.rs|289 col 5| warning: this let-binding has unit value
--> dex/farm/tests/farm_multi_user_test.rs:289:5
|
289 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
dex/farm/tests/farm_multi_user_test.rs|391 col 5| warning: this let-binding has unit value
--> dex/farm/tests/farm_multi_user_test.rs:391:5
|
391 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
dex/farm/tests/farm_multi_user_test.rs|490 col 5| warning: this let-binding has unit value
--> dex/farm/tests/farm_multi_user_test.rs:490:5
|
490 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
dex/farm/tests/farm_multi_user_test.rs|740 col 5| warning: this let-binding has unit value
--> dex/farm/tests/farm_multi_user_test.rs:740:5
|
740 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
dex/farm/tests/farm_multi_user_test.rs|855 col 5| warning: this let-binding has unit value
--> dex/farm/tests/farm_multi_user_test.rs:855:5
|
855 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
farm-staking/farm-staking-proxy/tests/composed_pos_test.rs|25 col 5| warning: this let-binding has unit value
--> farm-staking/farm-staking-proxy/tests/composed_pos_test.rs:25:5
|
25 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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
farm-staking/farm-staking-proxy/tests/composed_pos_test.rs|231 col 5| warning: this let-binding has unit value
--> farm-staking/farm-staking-proxy/tests/composed_pos_test.rs:231:5
|
231 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
locked-asset/energy-factory/tests/energy_factory_setup/unbond_sc_mock.rs|38 col 63| warning: redundant clone
--> locked-asset/energy-factory/tests/energy_factory_setup/unbond_sc_mock.rs:38:63
|
38 | let locked_tokens_burn_amount = unlocked_tokens.amount.clone();
| ^^^^^^^^ help: remove this
|
note: cloned value is neither consumed nor mutated
--> locked-asset/energy-factory/tests/energy_factory_setup/unbond_sc_mock.rs:38:41
|
38 | let locked_tokens_burn_amount = unlocked_tokens.amount.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
locked-asset/energy-factory/tests/energy_factory_setup/mod.rs|55 col 9| warning: this let-binding has unit value
--> locked-asset/energy-factory/tests/energy_factory_setup/mod.rs:55:9
|
55 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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
locked-asset/simple-lock-whitelist/tests/whitelist_test.rs|85 col 5| warning: this let-binding has unit value
--> locked-asset/simple-lock-whitelist/tests/whitelist_test.rs:85:5
|
85 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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
locked-asset/simple-lock/tests/rust_test.rs|69 col 5| warning: this let-binding has unit value
--> locked-asset/simple-lock/tests/rust_test.rs:69:5
|
69 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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
dex/farm/tests/farm_setup/single_user_farm_setup.rs|187 col 9| warning: this let-binding has unit value
--> dex/farm/tests/farm_setup/single_user_farm_setup.rs:187:9
|
187 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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
dex/farm/tests/farm_setup/single_user_farm_setup.rs|303 col 9| warning: this let-binding has unit value
--> dex/farm/tests/farm_setup/single_user_farm_setup.rs:303:9
|
303 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
locked-asset/locked-token-wrapper/tests/locked_token_wrapping_test.rs|22 col 5| warning: this let-binding has unit value
--> locked-asset/locked-token-wrapper/tests/locked_token_wrapping_test.rs:22:5
|
22 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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
locked-asset/locked-token-wrapper/tests/locked_token_wrapping_test.rs|182 col 5| warning: this let-binding has unit value
--> locked-asset/locked-token-wrapper/tests/locked_token_wrapping_test.rs:182:5
|
182 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
dex/router/tests/router_test.rs|350 col 5| warning: this let-binding has unit value
--> dex/router/tests/router_test.rs:350:5
|
350 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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
dex/router/tests/router_test.rs|521 col 5| warning: this let-binding has unit value
--> dex/router/tests/router_test.rs:521:5
|
521 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
dex/farm/tests/farm_setup/single_user_farm_setup.rs|187 col 9| warning: this let-binding has unit value
--> dex/farm/tests/farm_setup/single_user_farm_setup.rs:187:9
|
187 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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
dex/farm/tests/farm_setup/single_user_farm_setup.rs|303 col 9| warning: this let-binding has unit value
--> dex/farm/tests/farm_setup/single_user_farm_setup.rs:303:9
|
303 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
farm-staking/farm-staking/tests/farm_staking_test.rs|19 col 5| warning: this let-binding has unit value
--> farm-staking/farm-staking/tests/farm_staking_test.rs:19:5
|
19 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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
farm-staking/farm-staking/tests/farm_staking_test.rs|31 col 5| warning: this let-binding has unit value
--> farm-staking/farm-staking/tests/farm_staking_test.rs:31:5
|
31 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
farm-staking/farm-staking/tests/farm_staking_test.rs|73 col 5| warning: this let-binding has unit value
--> farm-staking/farm-staking/tests/farm_staking_test.rs:73:5
|
73 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
farm-staking/farm-staking/tests/farm_staking_test.rs|150 col 5| warning: this let-binding has unit value
--> farm-staking/farm-staking/tests/farm_staking_test.rs:150:5
|
150 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
farm-staking/farm-staking/tests/farm_staking_test.rs|156 col 5| warning: this let-binding has unit value
--> farm-staking/farm-staking/tests/farm_staking_test.rs:156:5
|
156 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
farm-staking/farm-staking/tests/farm_staking_test.rs|186 col 5| warning: this let-binding has unit value
--> farm-staking/farm-staking/tests/farm_staking_test.rs:186:5
|
186 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
farm-staking/farm-staking-proxy/tests/staking_farm_with_lp.rs|210 col 5| warning: this let-binding has unit value
--> farm-staking/farm-staking-proxy/tests/staking_farm_with_lp.rs:210:5
|
210 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let
binding: DebugApi::dummy();
|
= 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