Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(main): release 0.41.2 #556

Merged
merged 1 commit into from
Oct 10, 2024

chore(main): release 0.41.2

bc005cd
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

chore(main): release 0.41.2 #556

chore(main): release 0.41.2
bc005cd
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Oct 10, 2024 in 0s

clippy

3 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 3
Note 0
Help 0

Versions

  • rustc 1.81.0 (eeb90cda1 2024-09-04)
  • cargo 1.81.0 (2dbb1af80 2024-08-20)
  • clippy 0.1.81 (eeb90cd 2024-09-04)

Annotations

Check warning on line 432 in src/server/run/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this `match` can be collapsed into the outer `if let`

warning: this `match` can be collapsed into the outer `if let`
   --> src/server/run/mod.rs:426:9
    |
426 | /         match level {
427 | |             log::Level::Trace | log::Level::Debug => {
428 | |                 std::env::set_var("RUST_LOG", "debug");
429 | |                 env_logger::init_from_env(env_logger::Env::new().default_filter_or("info"));
430 | |             }
431 | |             _ => (),
432 | |         }
    | |_________^
    |
help: the outer pattern can be modified to include the inner pattern
   --> src/server/run/mod.rs:425:17
    |
425 |     if let Some(level) = args_common.verbose.log_level() {
    |                 ^^^^^ replace this binding
426 |         match level {
427 |             log::Level::Trace | log::Level::Debug => {
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match
    = note: `#[warn(clippy::collapsible_match)]` on by default

Check warning on line 421 in src/gnomad_nuclear/cli/import.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the borrowed expression implements the required traits

warning: the borrowed expression implements the required traits
   --> src/gnomad_nuclear/cli/import.rs:421:13
    |
421 |             &format!("gnomad-{}", header_field.replace('_', "-")),
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `format!("gnomad-{}", header_field.replace('_', "-"))`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args

Check warning on line 1159 in src/genes/cli/import.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the borrowed expression implements the required traits

warning: the borrowed expression implements the required traits
    --> src/genes/cli/import.rs:1159:39
     |
1159 |         db.put_cf(&cf_genes, hgnc_id, &record.encode_to_vec())?;
     |                                       ^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `record.encode_to_vec()`
     |
     = 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