Fix a typo
This commit is contained in:
@@ -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()),
|
||||||
|
|||||||
Reference in New Issue
Block a user