We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cecbb2 commit 74a7d98Copy full SHA for 74a7d98
src/lib.rs
@@ -107,7 +107,7 @@ pub fn create_vm() -> Error {
107
}
108
109
/// Destroys the VM instance associated with the current Mach task
110
-pub fn destory_vm() -> Error {
+pub fn destroy_vm() -> Error {
111
match_error_code(unsafe {
112
hv_vm_destroy()
113
})
@@ -268,7 +268,7 @@ impl vCPU {
268
269
270
/// Destroys the vCPU instance associated with the current thread
271
- pub fn destory(&self) -> Error {
+ pub fn destroy(&self) -> Error {
272
273
hv_vcpu_destroy(self.id as hv_vcpuid_t)
274
0 commit comments