imp: Implement custom JSON and Borsh deserialization for ChainId
#167
GitHub Actions / clippy
failed
Dec 21, 2023 in 1s
clippy
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.74.1 (a28077b28 2023-12-04)
- cargo 1.74.1 (ecb9851af 2023-10-18)
- clippy 0.1.74 (a28077b 2023-12-04)
Annotations
Check failure on line 213 in ibc-core/ics24-host/types/src/identifiers/chain_id.rs
github-actions / clippy
useless conversion to the same type: `std::string::String`
error: useless conversion to the same type: `std::string::String`
--> ibc-core/ics24-host/types/src/identifiers/chain_id.rs:213:25
|
213 | id: id.into(),
| ^^^^^^^^^ help: consider removing `.into()`: `id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
note: the lint level is defined here
--> ibc-core/ics24-host/types/src/lib.rs:8:5
|
8 | warnings,
| ^^^^^^^^
= note: `#[deny(clippy::useless_conversion)]` implied by `#[deny(warnings)]`
Check failure on line 213 in ibc-core/ics24-host/types/src/identifiers/chain_id.rs
github-actions / clippy
useless conversion to the same type: `std::string::String`
error: useless conversion to the same type: `std::string::String`
--> ibc-core/ics24-host/types/src/identifiers/chain_id.rs:213:25
|
213 | id: id.into(),
| ^^^^^^^^^ help: consider removing `.into()`: `id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
note: the lint level is defined here
--> ibc-core/ics24-host/types/src/lib.rs:8:5
|
8 | warnings,
| ^^^^^^^^
= note: `#[deny(clippy::useless_conversion)]` implied by `#[deny(warnings)]`
Loading