Skip to content

Commit a385b15

Browse files
committed
Simplify
1 parent c32e8fe commit a385b15

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler/frontend/ast_external_process.ml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,8 +1026,7 @@ let handle_attributes (loc : Bs_loc.t) (type_annotation : Parsetree.core_type)
10261026
let return_wrapper =
10271027
check_return_wrapper loc external_desc.return_wrapper result_type
10281028
in
1029-
let fn_type = Ast_helper.Typ.arrows ~loc args result_type in
1030-
( fn_type,
1029+
( Ast_helper.Typ.arrows ~loc args result_type,
10311030
External_ffi_types.ffi_bs arg_type_specs return_wrapper ffi,
10321031
unused_attrs,
10331032
relative )

0 commit comments

Comments
 (0)