[skip ci]ksud: fmt & clippy

This commit is contained in:
ShirkNeko
2025-11-20 20:30:06 +08:00
parent ff3071ca08
commit 3d4e0e48b4
2 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,3 @@
use anyhow::{Context, Result};
use log::{info, warn};
use std::path::Path;
#[cfg(target_arch = "aarch64")] #[cfg(target_arch = "aarch64")]
use crate::kpm; use crate::kpm;
use crate::module::{handle_updated_modules, prune_modules}; use crate::module::{handle_updated_modules, prune_modules};
@@ -9,6 +6,9 @@ use crate::{
assets, defs, ksucalls, metamodule, restorecon, assets, defs, ksucalls, metamodule, restorecon,
utils::{self}, utils::{self},
}; };
use anyhow::{Context, Result};
use log::{info, warn};
use std::path::Path;
pub fn on_post_data_fs() -> Result<()> { pub fn on_post_data_fs() -> Result<()> {
ksucalls::report_post_fs_data(); ksucalls::report_post_fs_data();

View File

@@ -170,7 +170,7 @@ impl UmountManager {
} }
pub fn init_umount_manager() -> Result<UmountManager> { pub fn init_umount_manager() -> Result<UmountManager> {
let mut manager = UmountManager::new(None)?; let manager = UmountManager::new(None)?;
if !Path::new(CONFIG_FILE).exists() { if !Path::new(CONFIG_FILE).exists() {
manager.save_config()?; manager.save_config()?;