typo: fix typos in documentation comments (#3882)

This commit is contained in:
Andrew Brown
2022-03-04 10:16:37 -08:00
committed by GitHub
parent 8861d0cc42
commit a7567cb9ec
2 changed files with 2 additions and 2 deletions

View File

@@ -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,
}

View File

@@ -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());