typo: fix typos in documentation comments (#3882)
This commit is contained in:
@@ -69,7 +69,7 @@ pub struct ExportMemory {
|
|||||||
pub definition: *mut VMMemoryDefinition,
|
pub definition: *mut VMMemoryDefinition,
|
||||||
/// Pointer to the containing `VMContext`.
|
/// Pointer to the containing `VMContext`.
|
||||||
pub vmctx: *mut VMContext,
|
pub vmctx: *mut VMContext,
|
||||||
/// The memory declaration, used for compatibilty checking.
|
/// The memory declaration, used for compatibility checking.
|
||||||
pub memory: MemoryPlan,
|
pub memory: MemoryPlan,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ impl StoreData {
|
|||||||
if id.store_id() != self.id {
|
if id.store_id() != self.id {
|
||||||
return false;
|
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.
|
// debug assertions enabled.
|
||||||
if cfg!(debug_assertions) {
|
if cfg!(debug_assertions) {
|
||||||
assert!(id.index() < T::list(self).len());
|
assert!(id.index() < T::list(self).len());
|
||||||
|
|||||||
Reference in New Issue
Block a user