Support Hypercore LTS Version 10 #1
GitHub Actions / clippy
succeeded
Oct 4, 2023 in 0s
clippy
1 warning
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 1 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.72.1 (d5c2e9c34 2023-09-13)
- cargo 1.72.1 (103a7ff2e 2023-08-15)
- clippy 0.1.72 (d5c2e9c 2023-09-13)
Annotations
Check warning on line 267 in src/oplog/mod.rs
github-actions / clippy
useless conversion to the same type: `std::vec::Drain<'_, common::store::StoreInfo>`
warning: useless conversion to the same type: `std::vec::Drain<'_, common::store::StoreInfo>`
--> src/oplog/mod.rs:267:17
|
267 | infos_to_flush.into_vec().drain(0..1).into_iter().collect();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into_iter()`: `infos_to_flush.into_vec().drain(0..1)`
|
= 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