1189: Fix a couple typos in comments. r=MarkMcCaskey a=nlewycky



Co-authored-by: Nick Lewycky <nick@wasmer.io>
This commit is contained in:
bors[bot] 2020-02-04 18:03:12 +00:00 committed by GitHub
commit abbdda7ebe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,7 +140,7 @@ pub trait WasmTypeList {
/// This method is used to distribute the values onto a function, /// This method is used to distribute the values onto a function,
/// e.g. `(1, 2).call(func, …)`. This form is unlikely to be used /// e.g. `(1, 2).call(func, …)`. This form is unlikely to be used
/// directly in the code, see the `Func:call` implementation. /// directly in the code, see the `Func::call` implementation.
unsafe fn call<Rets>( unsafe fn call<Rets>(
self, self,
f: NonNull<vm::Func>, f: NonNull<vm::Func>,
@ -191,7 +191,7 @@ where
Args: WasmTypeList, Args: WasmTypeList,
Rets: WasmTypeList, Rets: WasmTypeList,
{ {
/// Conver to function pointer. /// Convert to function pointer.
fn to_raw(self) -> (NonNull<vm::Func>, Option<NonNull<vm::FuncEnv>>); fn to_raw(self) -> (NonNull<vm::Func>, Option<NonNull<vm::FuncEnv>>);
} }