diff --git a/crates/runtime/src/export.rs b/crates/runtime/src/export.rs index df883a3a94..5f540924b3 100644 --- a/crates/runtime/src/export.rs +++ b/crates/runtime/src/export.rs @@ -69,7 +69,7 @@ pub struct ExportMemory { pub definition: *mut VMMemoryDefinition, /// Pointer to the containing `VMContext`. pub vmctx: *mut VMContext, - /// The memory declaration, used for compatibilty checking. + /// The memory declaration, used for compatibility checking. pub memory: MemoryPlan, } diff --git a/crates/wasmtime/src/store/data.rs b/crates/wasmtime/src/store/data.rs index 0314891f22..0d2b0227ad 100644 --- a/crates/wasmtime/src/store/data.rs +++ b/crates/wasmtime/src/store/data.rs @@ -92,7 +92,7 @@ impl StoreData { if id.store_id() != self.id { return false; } - // this should be true as an invariant of our API, but double-check with + // This should be true as an invariant of our API, but double-check with // debug assertions enabled. if cfg!(debug_assertions) { assert!(id.index() < T::list(self).len());