clippy fix

This commit is contained in:
Brendan Hansknecht 2022-07-16 19:03:35 -07:00
parent 08be0dc8aa
commit e0cd63d7fc
No known key found for this signature in database
GPG key ID: A2E3B0B6E483038E

View file

@ -3922,8 +3922,7 @@ fn expose_function_to_host_help_c_abi_v2<'a, 'ctx, 'env>(
)
.into_pointer_value();
let loaded = env.builder.build_load(fastcc_ptr, "load_arg");
loaded
env.builder.build_load(fastcc_ptr, "load_arg")
} else {
complex_bitcast_check_size(env, *arg, *fastcc_type, "to_fastcc_type_2")
}