Skip to content

Allow opt-out to PodMonitor duplicate case-clashes #89

Allow opt-out to PodMonitor duplicate case-clashes

Allow opt-out to PodMonitor duplicate case-clashes #89

GitHub Actions / clippy succeeded Mar 9, 2024 in 1s

clippy

1 warning

Details

Results

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

Versions

  • rustc 1.78.0-nightly (46b180ec2 2024-03-08)
  • cargo 1.78.0-nightly (a4c63fe53 2024-03-06)
  • clippy 0.1.78 (46b180e 2024-03-08)

Annotations

Check warning on line 358 in src/analyzer.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/analyzer.rs:358:17
    |
358 |                 simple_inner = ix.type_.clone();
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `simple_inner.clone_from(&ix.type_)`
    |
    = 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