From c5347cf1c1d73617605577f300e355268a31ad96 Mon Sep 17 00:00:00 2001 From: vms Date: Mon, 12 Apr 2021 22:21:58 +0300 Subject: [PATCH] fmt --- crates/wit/src/parsed_type/foreign_mod_arg.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } - }, + } } } }