RPC: Make blocks' body hash non-optional, as it's always provided #14552
GitHub Actions / Clippy Report
succeeded
Feb 27, 2025 in 1s
Clippy Report
1 warning
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 1 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.85.0 (4d91de4e4 2025-02-17)
- cargo 1.85.0 (d73d2caf9 2024-12-31)
- clippy 0.1.85 (4d91de4e48 2025-02-17)
Annotations
Check warning on line 322 in rpc-interface/src/types.rs
github-actions / Clippy Report
useless conversion to the same type: `nimiq_block::MicroJustification`
warning: useless conversion to the same type: `nimiq_block::MicroJustification`
--> rpc-interface/src/types.rs:322:57
|
322 | justification: micro_block.justification.map(Into::into),
| ^^^^^^^^^^^^^^^^ help: consider removing
|
= 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
Loading