Skip to content

Use the new RLE return type in find.

Sign in for the full log view
GitHub Actions / clippy succeeded Nov 4, 2024 in 1s

clippy

11 warnings

Details

Results

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

Versions

  • rustc 1.84.0-nightly (b8c8287a2 2024-11-03)
  • cargo 1.84.0-nightly (031049782 2024-11-01)
  • clippy 0.1.84 (b8c8287a22 2024-11-03)

Annotations

Check warning on line 196 in src/cli/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/cli/main.rs:196:67
    |
196 |                         res.append(&mut kbo::find(&seq.reverse_complement(), &sbwt, &lcs, derand_opts.clone())
    |                                                                                     ^^^^ help: change this to: `lcs`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow

Check warning on line 196 in src/cli/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/cli/main.rs:196:60
    |
196 |                         res.append(&mut kbo::find(&seq.reverse_complement(), &sbwt, &lcs, derand_opts.clone())
    |                                                                              ^^^^^ help: change this to: `sbwt`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow

Check warning on line 190 in src/cli/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/cli/main.rs:190:36
    |
190 |                         res = kbo::find(&seq, &sbwt, &lcs, derand_opts.clone())
    |                                                      ^^^^ help: change this to: `lcs`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow

Check warning on line 190 in src/cli/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/cli/main.rs:190:29
    |
190 |                         res = kbo::find(&seq, &sbwt, &lcs, derand_opts.clone())
    |                                               ^^^^^ help: change this to: `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 29 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item without indentation

warning: doc list item without indentation
  --> src/lib.rs:29:5
   |
29 | //! map](https://docs.rs/ska/latest/ska/#ska-map).
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
29 | //!   map](https://docs.rs/ska/latest/ska/#ska-map).
   |     ++

Check warning on line 28 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item without indentation

warning: doc list item without indentation
  --> src/lib.rs:28:5
   |
28 | //! [snippy](https://github.com/tseemann/snippy) and [ska
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
28 | //!   [snippy](https://github.com/tseemann/snippy) and [ska
   |     ++

Check warning on line 27 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item without indentation

warning: doc list item without indentation
  --> src/lib.rs:27:5
   |
27 | //! the reference. Map solves the same problem as
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
27 | //!   the reference. Map solves the same problem as
   |     ++

Check warning on line 26 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item without indentation

warning: doc list item without indentation
  --> src/lib.rs:26:5
   |
26 | //! sequence, and reports the nucleotide sequence of the alignment relative to
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
26 | //!   sequence, and reports the nucleotide sequence of the alignment relative to
   |     ++

Check warning on line 24 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item without indentation

warning: doc list item without indentation
  --> src/lib.rs:24:5
   |
24 | //! [blast](https://blast.ncbi.nlm.nih.gov/Blast.cgi).
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
24 | //!   [blast](https://blast.ncbi.nlm.nih.gov/Blast.cgi).
   |     ++

Check warning on line 23 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item without indentation

warning: doc list item without indentation
  --> src/lib.rs:23:5
   |
23 | //! reference. Find is useful for problems that can be solved with
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
23 | //!   reference. Find is useful for problems that can be solved with
   |     ++

Check warning on line 22 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item without indentation

warning: doc list item without indentation
  --> src/lib.rs:22:5
   |
22 | //! reference and reports the local alignment segments found within the
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
   = note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
   |
22 | //!   reference and reports the local alignment segments found within the
   |     ++