runtime-rs: rustfmt against lib.rs

It seemed some files was mssing run rustfmt.
This commit do rustfmt for them.

Signed-off-by: Fupan Li <fupan.lfp@antgroup.com>
This commit is contained in:
Fupan Li 2025-01-24 17:23:10 +08:00 committed by Pavel Mores
parent 33555037c0
commit 97785b1f3f

View File

@ -37,8 +37,10 @@ fn get_uds_with_sid(short_id: &str, path: &str) -> Result<String> {
return Ok(format!("unix://{}", p.display()));
}
let _ = fs::create_dir_all(kata_run_path.join(short_id))
.context(format!("failed to create directory {:?}", kata_run_path.join(short_id)));
let _ = fs::create_dir_all(kata_run_path.join(short_id)).context(format!(
"failed to create directory {:?}",
kata_run_path.join(short_id)
));
let target_ids: Vec<String> = fs::read_dir(&kata_run_path)?
.filter_map(|e| {