From 0543017145207d9ea41b61407225f6766314ae54 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 27 Apr 2022 21:08:08 +0000 Subject: host/start-vm: fix typos in comment --- host/start-vm/start-vm.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/host/start-vm/start-vm.rs b/host/start-vm/start-vm.rs index ab856ea..9dfeacc 100644 --- a/host/start-vm/start-vm.rs +++ b/host/start-vm/start-vm.rs @@ -45,8 +45,8 @@ fn vm_command(dir: PathBuf) -> Result { .map_err(|e| format!("examining directory entry: {}", e))? .file_name(); - // Safe because prov is the name of a directory entry, so - // con't contain a null byte. + // Safe because provider_name is the name of a directory entry, so + // can't contain a null byte. let provider_name = unsafe { CString::from_vec_unchecked(entry.into_vec()) }; // Safe because we pass a valid pointer and check the result. -- cgit 1.4.1