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

Dev #22

Merged
merged 103 commits into from
Sep 25, 2024

Add reminder to implement refine_translation.

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

Dev #22

Add reminder to implement refine_translation.
8ba9862
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Sep 25, 2024 in 1s

clippy

5 warnings

Details

Results

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

Versions

  • rustc 1.83.0-nightly (363ae4188 2024-09-24)
  • cargo 1.83.0-nightly (eaee77dc1 2024-09-19)
  • clippy 0.1.82 (363ae41 2024-09-24)

Annotations

Check warning on line 166 in src/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this expression creates a reference which is immediately dereferenced by the compiler

warning: this expression creates a reference which is immediately dereferenced by the compiler
   --> src/main.rs:166:32
    |
166 |         res.append(&mut sablast::map(&ref_contig, &sbwt, &lcs));
    |                                      ^^^^^^^^^^^ help: change this to: `ref_contig`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
    = note: `#[warn(clippy::needless_borrow)]` on by default

Check warning on line 153 in src/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused variable: `num_threads`

warning: unused variable: `num_threads`
   --> src/main.rs:153:6
    |
153 |         num_threads,
    |         ^^^^^^^^^^^ help: try ignoring the field: `num_threads: _`
    |
    = note: `#[warn(unused_variables)]` on by default

Check warning on line 141 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this expression creates a reference which is immediately dereferenced by the compiler

warning: this expression creates a reference which is immediately dereferenced by the compiler
   --> src/lib.rs:141:45
    |
141 |     let aln = matches(ref_seq, &query_sbwt, &query_lcs);
    |                                             ^^^^^^^^^^ help: change this to: `query_lcs`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow

Check warning on line 141 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this expression creates a reference which is immediately dereferenced by the compiler

warning: this expression creates a reference which is immediately dereferenced by the compiler
   --> src/lib.rs:141:32
    |
141 |     let aln = matches(ref_seq, &query_sbwt, &query_lcs);
    |                                ^^^^^^^^^^^ help: change this to: `query_sbwt`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
    = note: `#[warn(clippy::needless_borrow)]` on by default

Check warning on line 43 in src/format.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

writing `&Vec` instead of `&[_]` involves a new object where a slice will do

warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
  --> src/format.rs:43:16
   |
43 |     alignment: &Vec<char>,
   |                ^^^^^^^^^^ help: change this to: `&[char]`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
   = note: `#[warn(clippy::ptr_arg)]` on by default