Merge pull request #841 from multiversx/farm-concentrated-liq-part-2 #3774
GitHub Actions / clippy
succeeded
Feb 22, 2024 in 0s
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (0)
Filtered Findings (1)
energy-integration/governance-v2/tests/gov_rust_test.rs|74 col 26| warning: accessing first element with proposal.actions.get(0)
--> energy-integration/governance-v2/tests/gov_rust_test.rs:74:26
|
74 | let action = proposal.actions.get(0).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^ help: try: proposal.actions.first()
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
= note: #[warn(clippy::get_first)]
on by default
Loading