Skip to content

Automatically switch between XML and DAT parser for UniProtKB #45

Automatically switch between XML and DAT parser for UniProtKB

Automatically switch between XML and DAT parser for UniProtKB #45

GitHub Actions / clippy succeeded Mar 14, 2024 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (0)
Filtered Findings (1)

scripts/helper_scripts/unipept-database-rs/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)]