typo: fix typos in documentation comments (#3882)
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user