From a7567cb9ec0ee18ffdc6bc77f3c14d7a496d4fec Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Fri, 4 Mar 2022 10:16:37 -0800 Subject: [PATCH] typo: fix typos in documentation comments (#3882) --- crates/runtime/src/export.rs | 2 +- crates/wasmtime/src/store/data.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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());