Suffix array #61
Open
Suffix array #61
GitHub Actions / clippy
succeeded
Aug 6, 2024 in 0s
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (0)
Filtered Findings (1)
src/dat_parser/entry.rs|226 col 30| error: writing &mut Vec
instead of &mut [_]
involves a new object where a slice will do
--> src/dat_parser/entry.rs:226:30
|
226 | fn parse_db_references(data: &mut Vec, index: &mut usize) -> (Vec, Vec) {
| ^^^^^^^^^^^^^^^^ help: change this to: &mut [String]
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: -D clippy::ptr-arg
implied by -D warnings
= help: to override -D warnings
add #[allow(clippy::ptr_arg)]
Loading