Fix a typo

This commit is contained in:
Alex Crichton
2021-09-14 14:09:14 -07:00
parent bcb1dc90d6
commit eb4089e212

View File

@@ -1951,7 +1951,7 @@ impl HostFunc {
unsafe fn register_trampoline(&self, store: &mut StoreOpaque) { unsafe fn register_trampoline(&self, store: &mut StoreOpaque) {
// This assert is required to ensure that we can indeed safely insert // This assert is required to ensure that we can indeed safely insert
// `self` into the `store` provided, otherwise the type information we // `self` into the `store` provided, otherwise the type information we
// have listed won't e correct. This is possible to hit with the public // have listed won't be correct. This is possible to hit with the public
// API of Wasmtime, and should be documented in relevant functions. // API of Wasmtime, and should be documented in relevant functions.
assert!( assert!(
Engine::same(&self.engine, store.engine()), Engine::same(&self.engine, store.engine()),