ksud: migrate to Rust 2024 edition

This commit is contained in:
Tiann
2025-02-24 16:53:37 +08:00
committed by rifsxd
parent 195e1ba494
commit ee71a992a3
20 changed files with 36 additions and 36 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ use crate::{
sepolicy,
};
use anyhow::{anyhow, bail, ensure, Context, Result};
use anyhow::{Context, Result, anyhow, bail, ensure};
use const_format::concatcp;
use is_executable::is_executable;
use java_properties::PropertiesIter;
@@ -16,7 +16,7 @@ use std::fs::{copy, rename};
use std::{
collections::HashMap,
env::var as env_var,
fs::{remove_dir_all, remove_file, set_permissions, File, Permissions},
fs::{File, Permissions, remove_dir_all, remove_file, set_permissions},
io::Cursor,
path::{Path, PathBuf},
process::Command,