Fix a typo

This commit is contained in:
Alex Crichton 2018-03-31 14:25:56 -07:00
parent 9bc2718943
commit f2254628dd

View File

@ -422,7 +422,7 @@ impl ToTokens for ast::ImportFunction {
};
arg_conversions.push(my_quote! {
let #name = <#t as ::wasm_bindgen::convert::WasmBoundary>
::into_abi(#name, &mut __stack);
::into_abi(#var, &mut __stack);
});
}
ast::Type::ByMutRef(_) => panic!("urgh mut"),