Skip to content

Commit

Permalink
typo: fix typos in documentation comments (bytecodealliance#3882)
Browse files Browse the repository at this point in the history
  • Loading branch information
abrown authored Mar 4, 2022
1 parent 8861d0c commit a7567cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/runtime/src/export.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down
2 changes: 1 addition & 1 deletion crates/wasmtime/src/store/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit a7567cb

Please sign in to comment.