fix: proper handling of FORMAT/amq (#477) #168
Annotations
3 warnings
release-please
Unexpected input(s) 'package-name', valid inputs are ['token', 'release-type', 'path', 'target-branch', 'config-file', 'manifest-file', 'repo-url', 'github-api-url', 'github-graphql-url', 'fork', 'include-component-in-tag', 'proxy-server', 'skip-github-release', 'skip-github-pull-request', 'changelog-host']
|
the borrowed expression implements the required traits:
src/seqvars/ingest/mod.rs#L326
warning: the borrowed expression implements the required traits
--> src/seqvars/ingest/mod.rs:326:55
|
326 | let tx_db = mehari::annotate::seqvars::load_tx_db(&format!(
| _______________________________________________________^
327 | | "{}/{}/txs.bin.zst",
328 | | &args.path_mehari_db,
329 | | path_component(args.genomebuild)
330 | | ))?;
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
help: change this to
|
326 ~ let tx_db = mehari::annotate::seqvars::load_tx_db(format!(
327 + "{}/{}/txs.bin.zst",
328 + &args.path_mehari_db,
329 + path_component(args.genomebuild)
330 ~ ))?;
|
|
can be more succinctly written as a byte str:
src/strucvars/aggregate/cli.rs#L87
warning: can be more succinctly written as a byte str
--> src/strucvars/aggregate/cli.rs:87:32
|
87 | tmp_file.write_all(&[b'\n'])?;
| ^^^^^^^^ help: try: `b"\n"`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#byte_char_slices
= note: `#[warn(clippy::byte_char_slices)]` on by default
|