File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ use llvm_sys::LLVMTypeKind;
31
31
///
32
32
/// builder.position_at_end(entry);
33
33
///
34
- /// let ret_val = builder.build_call(fn_value, &[i32_arg], "call")
34
+ /// let ret_val = builder.build_call(fn_value, &[i32_arg.into() ], "call")
35
35
/// .try_as_basic_value()
36
36
/// .left()
37
37
/// .unwrap();
@@ -66,7 +66,7 @@ use llvm_sys::LLVMTypeKind;
66
66
/// // explicitly handling the failure case (here with `unwrap`)
67
67
/// let callable_value = CallableValue::try_from(fn_pointer_value).unwrap();
68
68
///
69
- /// let ret_val = builder.build_call(callable_value, &[i32_arg], "call")
69
+ /// let ret_val = builder.build_call(callable_value, &[i32_arg.into() ], "call")
70
70
/// .try_as_basic_value()
71
71
/// .left()
72
72
/// .unwrap();
You can’t perform that action at this time.
0 commit comments