docs: Fix some typos in docs and comments

Fix some typos or misspellings without functional change.

Signed-off-by: Dayu Liu <liu.dayu@zte.com.cn>
This commit is contained in:
Dayu Liu
2021-05-18 09:12:08 +08:00
committed by Rob Bradford
parent c91b16d2a1
commit 8160c2884b
8 changed files with 9 additions and 9 deletions

View File

@@ -340,7 +340,7 @@ impl Vmm {
}
fn vm_boot(&mut self) -> result::Result<(), VmError> {
// Create a new VM is we don't have one yet.
// Create a new VM if we don't have one yet.
if self.vm.is_none() {
let exit_evt = self.exit_evt.try_clone().map_err(VmError::EventFdClone)?;
let reset_evt = self.reset_evt.try_clone().map_err(VmError::EventFdClone)?;