From 97785b1f3f8bb075eada1cd601328cb482b5ee28 Mon Sep 17 00:00:00 2001 From: Fupan Li Date: Fri, 24 Jan 2025 17:23:10 +0800 Subject: [PATCH] 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 --- src/libs/shim-interface/src/lib.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/libs/shim-interface/src/lib.rs b/src/libs/shim-interface/src/lib.rs index 8a401c1aec..2c94a3e5d4 100644 --- a/src/libs/shim-interface/src/lib.rs +++ b/src/libs/shim-interface/src/lib.rs @@ -37,8 +37,10 @@ fn get_uds_with_sid(short_id: &str, path: &str) -> Result { 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 = fs::read_dir(&kata_run_path)? .filter_map(|e| {