Derive clone for Variant #246
mirror_to_codeberg.yml
on: push
Push commits to codeberg
12s
Annotations
8 warnings
|
doc list item overindented:
src/variant_calling.rs#L105
warning: doc list item overindented
--> src/variant_calling.rs:105:5
|
105 | /// Use e.g. [random_match_threshold](crate::derandomize::random_match_threshold) to determine this.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try using ` ` (2 spaces)
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items
|
|
doc list item overindented:
src/variant_calling.rs#L102
warning: doc list item overindented
--> src/variant_calling.rs:102:5
|
102 | /// reference SBWT, and l_i..r_i is the colexicographic range of that match.
| ^^^^^^^^^^^^^^^ help: try using ` ` (2 spaces)
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items
|
|
doc list item overindented:
src/variant_calling.rs#L101
warning: doc list item overindented
--> src/variant_calling.rs:101:5
|
101 | /// longest substring of query_kmer ending at position i that matches the
| ^^^^^^^^^^^^^^^ help: try using ` ` (2 spaces)
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items
|
|
doc list item overindented:
src/translate.rs#L26
warning: doc list item overindented
--> src/translate.rs:26:5
|
26 | //! or insertion of _k_-mers from elsewhere in the reference into the query.
| ^^^^^^^^^^ help: try using ` ` (2 spaces)
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items
|
|
doc list item overindented:
src/translate.rs#L25
warning: doc list item overindented
--> src/translate.rs:25:5
|
25 | //! 'R'. This implies either a deletion of unknown length in the query,
| ^^^^^^^^^^ help: try using ` ` (2 spaces)
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items
|
|
doc list item overindented:
src/translate.rs#L24
warning: doc list item overindented
--> src/translate.rs:24:5
|
24 | //! to the last character in the _k_-mer corresponding to the left
| ^^^^^^^^^^ help: try using ` ` (2 spaces)
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items
|
|
doc list item overindented:
src/translate.rs#L23
warning: doc list item overindented
--> src/translate.rs:23:5
|
23 | //! The right 'R' is at the start of a _k_-mer that is not adjacent
| ^^^^^^^^^^ help: try using ` ` (2 spaces)
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items
= note: `#[warn(clippy::doc_overindented_list_items)]` on by default
|
|
manual arithmetic check found:
src/gap_filling.rs#L327
warning: manual arithmetic check found
--> src/gap_filling.rs:327:33
|
327 | let ref_start_pos = if gap_index.start > left_overlap_req { gap_index.start - left_overlap_req } else { 0 };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `gap_index.start.saturating_sub(left_overlap_req)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#implicit_saturating_sub
= note: `#[warn(clippy::implicit_saturating_sub)]` on by default
|