warning: single-character string constant used as pattern
--> src/apis/round.rs:140:50
140
let parts: Vec<&str> = params_path.split("-").collect();
^^^ help: try using a char instead: '-'
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern
= note: `#[warn(clippy::single_char_pattern)]` on by default
warning: useless conversion to the same type: ethers::types::Bytes
--> src/contracts/generated/summa_contract.rs:14041:17
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
warning: module has the same name as its containing module
--> src/contracts/generated/inclusion_verifier.rs:12:1
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
= note: `#[warn(clippy::module_inception)]` on by default
warning: useless conversion to the same type: ethers::types::Bytes
--> src/contracts/generated/inclusion_verifier.rs:38831:17
Clippy static Analysis results for summa_backend package
7 warnings as below:
signer
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note:
#[warn(clippy::needless_borrow)]
on by defaultchar
instead:'-'
ethers::types::Bytes
--> src/contracts/generated/summa_contract.rs:14041:17.into()
:SUMMA_BYTECODE.clone()
ethers::types::Bytes
--> src/contracts/generated/inclusion_verifier.rs:38831:17.into()
:INCLUSIONVERIFIER_BYTECODE.clone()
ethers::types::Bytes
--> src/contracts/mock/mock_erc20.rs:6333:17.into()
:MOCKERC20_BYTECODE.clone()