diff --git a/crates/backend/src/codegen.rs b/crates/backend/src/codegen.rs index a80ff0249ad7..50d9094157a9 100644 --- a/crates/backend/src/codegen.rs +++ b/crates/backend/src/codegen.rs @@ -136,7 +136,7 @@ impl TryToTokens for ast::LinkToModule { self.0.try_to_tokens(&mut program)?; let link_function_name = self.0.link_function_name(0); let name = Ident::new(&link_function_name, Span::call_site()); - let abi_ret = quote! { ::Abi }; + let abi_ret = quote! { ::Abi }; let extern_fn = extern_fn(&name, &[], &[], &[], abi_ret); (quote! { { @@ -144,7 +144,7 @@ impl TryToTokens for ast::LinkToModule { #extern_fn unsafe { - ::from_abi(#name()) + ::from_abi(#name()) } } })