feat(int-on-eos): <- adds handling for V1 redeems for wETH to that #3
GitHub Actions / clippy
failed
Nov 7, 2023 in 0s
clippy
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.73.0 (cc66ad468 2023-10-03)
- cargo 1.73.0 (9c4383fb5 2023-08-26)
- clippy 0.1.73 (cc66ad4 2023-10-03)
Annotations
Check failure on line 202 in common/metadata/src/metadata_chain_id.rs
github-actions / clippy
useless use of `vec!`
error: useless use of `vec!`
--> common/metadata/src/metadata_chain_id.rs:199:21
|
199 | _ => Ok(vec![
| _____________________^
200 | | vec![self.to_protocol_id().to_byte()],
201 | | self.to_first_three_bytes_of_keccak_hash()?,
202 | | ]
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
help: you can use an array directly
|
199 ~ _ => Ok([vec![self.to_protocol_id().to_byte()],
200 + self.to_first_three_bytes_of_keccak_hash()?]
|
Check failure on line 197 in common/metadata/src/metadata_chain_id.rs
github-actions / clippy
useless use of `vec!`
error: useless use of `vec!`
--> common/metadata/src/metadata_chain_id.rs:197:20
|
197 | Ok(vec![vec![self.to_protocol_id().to_byte()], random_bytes].concat())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[vec![self.to_protocol_id().to_byte()], random_bytes]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
= note: `-D clippy::useless-vec` implied by `-D warnings`
Loading