ci: fix rustfmt failed (#748)

This commit is contained in:
weishu
2023-07-11 12:23:56 +08:00
committed by GitHub
parent f6d0e788dc
commit f99e1406dd
2 changed files with 4 additions and 3 deletions

View File

@@ -29,8 +29,8 @@ pub fn mount_systemlessly(module_dir: &str) -> Result<()> {
// construct overlay mount params
let dir = std::fs::read_dir(module_dir);
let Ok(dir) = dir else {
bail!("open {} failed", defs::MODULE_DIR);
};
bail!("open {} failed", defs::MODULE_DIR);
};
let mut system_lowerdir: Vec<String> = Vec::new();