This repository has been archived by the owner on Aug 8, 2024. It is now read-only.
fix: fix auto partition required size > system partition size #62
GitHub Actions / clippy
succeeded
May 6, 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.78.0 (9b00956e5 2024-04-29)
- cargo 1.78.0 (54d8815d0 2024-03-26)
- clippy 0.1.78 (9b00956 2024-04-29)
Annotations
Check warning on line 513 in src/install.rs
github-actions / clippy
assigning the result of `ToOwned::to_owned()` may be inefficient
warning: assigning the result of `ToOwned::to_owned()` may be inefficient
--> src/install.rs:513:5
|
513 | v[index.unwrap()].fullname = full_name.to_owned();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `full_name.clone_into(&mut v[index.unwrap()].fullname)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
Check warning on line 1577 in src/frontend/tui.rs
github-actions / clippy
assigning the result of `Clone::clone()` may be inefficient
warning: assigning the result of `Clone::clone()` may be inefficient
--> src/frontend/tui.rs:1577:13
|
1577 | fs = fs_type.clone();
| ^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `fs.clone_from(fs_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