added mock client and consensus state #125
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / clippy
failed
Oct 13, 2023 in 0s
clippy
1 error
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.75.0-nightly (e20cb7702 2023-10-12)
- cargo 1.75.0-nightly (6fa6fdc76 2023-10-10)
- clippy 0.1.75 (e20cb77 2023-10-12)
Annotations
Check failure on line 97 in solana/solana-ibc/programs/solana-ibc/src/validation_context.rs
github-actions / clippy
useless conversion to the same type: `ibc::core::timestamp::Timestamp`
error: useless conversion to the same type: `ibc::core::timestamp::Timestamp`
--> solana/solana-ibc/programs/solana-ibc/src/validation_context.rs:97:20
|
97 | Ok(mock_consensus_state.timestamp().into())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `mock_consensus_state.timestamp()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `-D clippy::useless-conversion` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::useless_conversion)]`
Loading