Run through clippy and rustfmt

This commit is contained in:
topjohnwu
2025-11-28 19:56:51 -08:00
committed by John Wu
parent bdbfb40383
commit f7ce9c38e1
5 changed files with 63 additions and 47 deletions

View File

@@ -221,8 +221,10 @@ pub fn revert_unmount(pid: i32) {
// Unmount Magisk tmpfs and mounts from module files
for info in parse_mount_info("self") {
if info.source == "magisk" || info.root.starts_with("/adb/modules") ||
(info.fs_type == "rootfs" && info.root.starts_with("/magisk")) {
if info.source == "magisk"
|| info.root.starts_with("/adb/modules")
|| (info.fs_type == "rootfs" && info.root.starts_with("/magisk"))
{
targets.push(info.target);
}
}