Skip to content

Commit 9e6fc2d

Browse files
authored
Rollup merge of #143632 - dillona:ffi-param-names, r=jieyouxu
fix: correct parameter names in LLVMRustBuildMinNum and LLVMRustBuildMaxNum FFI declarations
2 parents ecea8e7 + 0455577 commit 9e6fc2d

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_codegen_llvm/src/llvm

1 file changed

+2
-2
lines changed

compiler/rustc_codegen_llvm/src/llvm/ffi.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1980,12 +1980,12 @@ unsafe extern "C" {
19801980
pub(crate) fn LLVMRustBuildMinNum<'a>(
19811981
B: &Builder<'a>,
19821982
LHS: &'a Value,
1983-
LHS: &'a Value,
1983+
RHS: &'a Value,
19841984
) -> &'a Value;
19851985
pub(crate) fn LLVMRustBuildMaxNum<'a>(
19861986
B: &Builder<'a>,
19871987
LHS: &'a Value,
1988-
LHS: &'a Value,
1988+
RHS: &'a Value,
19891989
) -> &'a Value;
19901990

19911991
// Atomic Operations

0 commit comments

Comments
 (0)