Skip to content

Adding --proportion-reads parameter to the doc #214

Adding --proportion-reads parameter to the doc

Adding --proportion-reads parameter to the doc #214

GitHub Actions / clippy succeeded Apr 17, 2024 in 0s

clippy

2 warnings

Details

Results

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

Versions

  • rustc 1.79.0-nightly (1cec373f6 2024-04-16)
  • cargo 1.79.0-nightly (48eca1b16 2024-04-12)
  • clippy 0.1.79 (1cec373 2024-04-16)

Annotations

Check warning on line 314 in src/ska_ref.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

assigning the result of `Clone::clone()` may be inefficient

warning: assigning the result of `Clone::clone()` may be inefficient
   --> src/ska_ref.rs:314:9
    |
314 |         self.mapped_names = ska_dict.names().clone();
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `self.mapped_names.clone_from(ska_dict.names())`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones

Check warning on line 85 in src/merge_ska_dict.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

assigning the result of `Clone::clone()` may be inefficient

warning: assigning the result of `Clone::clone()` may be inefficient
  --> src/merge_ska_dict.rs:85:9
   |
85 |         self.names[other.idx()] = other.name().clone();
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `self.names[other.idx()].clone_from(other.name())`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
   = note: `#[warn(clippy::assigning_clones)]` on by default