Release 0.12.0 #6
GitHub Actions / clippy
succeeded
Oct 12, 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.73.0 (cc66ad468 2023-10-03)
- cargo 1.73.0 (9c4383fb5 2023-08-26)
- clippy 0.1.73 (cc66ad4 2023-10-03)
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