506: Fix some typos. r=nlewycky a=nlewycky



Co-authored-by: Nick Lewycky <nicklewycky@lachlans-mac-mini.local>
This commit is contained in:
bors[bot] 2019-06-19 17:40:28 +00:00
commit 965092c11a
2 changed files with 3 additions and 3 deletions

View File

@ -84,7 +84,7 @@ pub trait RunnableModule: Send + Sync {
local_func_index: LocalFuncIndex,
) -> Option<NonNull<vm::Func>>;
/// A wasm trampoline contains the necesarry data to dynamically call an exported wasm function.
/// A wasm trampoline contains the necessary data to dynamically call an exported wasm function.
/// Given a particular signature index, we are returned a trampoline that is matched with that
/// signature and an invoke function that can call the trampoline.
fn get_trampoline(&self, info: &ModuleInfo, sig_index: SigIndex) -> Option<Wasm>;

View File

@ -139,7 +139,7 @@ impl LocalBacking {
if let Value::I32(x) = imports.globals[import_global_index].get() {
x as u32
} else {
panic!("unsupported global type for initialzer")
panic!("unsupported global type for initializer")
}
}
} as usize;
@ -210,7 +210,7 @@ impl LocalBacking {
if let Value::I32(x) = imports.globals[import_global_index].get() {
x as u32
} else {
panic!("unsupported global type for initialzer")
panic!("unsupported global type for initializer")
}
}
} as usize;