diff --git a/crates/wit/src/parsed_type/foreign_mod_arg.rs b/crates/wit/src/parsed_type/foreign_mod_arg.rs index 663be3e..9f9d9ec 100644 --- a/crates/wit/src/parsed_type/foreign_mod_arg.rs +++ b/crates/wit/src/parsed_type/foreign_mod_arg.rs @@ -40,13 +40,13 @@ impl ForeignModArgGlueCodeGenerator for ParsedType { ty @ ParsedType::Boolean(_) => { let deref_sign = maybe_deref(ty); quote! { #deref_sign#arg as _ } - }, + } // this branch shouldn't be unite with booleans because otherwise // conversions errors could be lost due to as _ ty => { let deref_sign = maybe_deref(ty); quote! { #deref_sign#arg } - }, + } } } }