ksud: fmt

This commit is contained in:
weishu
2024-02-01 16:33:33 +08:00
parent 4efc8164f1
commit d4826bc97c

View File

@@ -81,11 +81,7 @@ pub fn umount_dir(src: impl AsRef<Path>) -> Result<()> {
} }
#[cfg(any(target_os = "linux", target_os = "android"))] #[cfg(any(target_os = "linux", target_os = "android"))]
pub fn mount_overlayfs( pub fn mount_overlayfs(lower_dirs: &[String], lowest: &str, dest: impl AsRef<Path>) -> Result<()> {
lower_dirs: &[String],
lowest: &str,
dest: impl AsRef<Path>,
) -> Result<()> {
let lowerdir_config = lower_dirs let lowerdir_config = lower_dirs
.iter() .iter()
.map(|s| s.as_ref()) .map(|s| s.as_ref())