minor doc tweaks #352
GitHub Actions / clippy
succeeded
Apr 16, 2024 in 0s
clippy
1 warning
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 1 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.79.0-nightly (ccfcd950b 2024-04-15)
- cargo 1.79.0-nightly (48eca1b16 2024-04-12)
- clippy 0.1.79 (ccfcd95 2024-04-15)
Annotations
Check warning on line 360 in src/analyzer.rs
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:360:17
|
360 | 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
Loading