Bump regex from 1.10.2 to 1.10.5 in /scripts/helper_scripts/unipept-database-rs #56
GitHub Actions / clippy
succeeded
Aug 1, 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