mirror of
https://github.com/redstrate/Kawari.git
synced 2025-06-30 11:47:45 +00:00
Address warning: "deref which would be done by auto-deref"
This commit is contained in:
parent
efb7a7e126
commit
5b5e998286
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ async fn verify_boot(
|
||||||
|
|
||||||
// check if we need any patching
|
// check if we need any patching
|
||||||
let mut send_patches = Vec::new();
|
let mut send_patches = Vec::new();
|
||||||
let patches = list_patch_files(&*format!("{}/boot", &config.patch.patches_location));
|
let patches = list_patch_files(&format!("{}/boot", &config.patch.patches_location));
|
||||||
for patch in patches {
|
for patch in patches {
|
||||||
let patch_str: &str = &patch;
|
let patch_str: &str = &patch;
|
||||||
if actual_boot_version.partial_cmp(patch_str).unwrap() == Ordering::Less {
|
if actual_boot_version.partial_cmp(patch_str).unwrap() == Ordering::Less {
|
||||||
|
|
Loading…
Add table
Reference in a new issue