diff options
author | Alyssa Ross <hi@alyssa.is> | 2022-04-27 21:08:08 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2022-04-27 21:11:12 +0000 |
commit | 0543017145207d9ea41b61407225f6766314ae54 (patch) | |
tree | 97088a4c9644ea8492e9da9ff2ef3665381f00e8 /host/start-vm | |
parent | 9226197f1e9b9f17caf501b2a80b740b2da4af54 (diff) | |
download | spectrum-0543017145207d9ea41b61407225f6766314ae54.tar spectrum-0543017145207d9ea41b61407225f6766314ae54.tar.gz spectrum-0543017145207d9ea41b61407225f6766314ae54.tar.bz2 spectrum-0543017145207d9ea41b61407225f6766314ae54.tar.lz spectrum-0543017145207d9ea41b61407225f6766314ae54.tar.xz spectrum-0543017145207d9ea41b61407225f6766314ae54.tar.zst spectrum-0543017145207d9ea41b61407225f6766314ae54.zip |
host/start-vm: fix typos in comment
Diffstat (limited to 'host/start-vm')
-rw-r--r-- | host/start-vm/start-vm.rs | 4 |
1 files 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<Command, String> { .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. |