Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kamirr committed Aug 28, 2024
1 parent cc28e2e commit 5347abd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion runtime/src/self_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ impl RaiiDir {

impl Drop for RaiiDir {
fn drop(&mut self) {
std::fs::remove_dir_all(&self.0).unwrap_or_else(|_| panic!("Couldn't remove {}", self.0.display()));
std::fs::remove_dir_all(&self.0)
.unwrap_or_else(|_| panic!("Couldn't remove {}", self.0.display()));
}
}

Expand Down
8 changes: 6 additions & 2 deletions runtime/src/vmrt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ pub async fn start_vmrt(
)
.as_str(),
"-device",
"virtio-blk-pci,drive=rootfs,serial=rootfs".to_string().as_str(),
"virtio-blk-pci,drive=rootfs,serial=rootfs"
.to_string()
.as_str(),
"-no-reboot",
]);

Expand Down Expand Up @@ -165,7 +167,9 @@ pub async fn start_vmrt(
)
.as_str(),
"-device",
"virtio-blk-pci,drive=nvidia-files,serial=nvidia-files".to_string().as_ref(),
"virtio-blk-pci,drive=nvidia-files,serial=nvidia-files"
.to_string()
.as_ref(),
]);
}

Expand Down

0 comments on commit 5347abd

Please sign in to comment.