Skip to content

Commit 1d5bf6b

Browse files
Update compiler/rustc_codegen_llvm/src/builder.rs
Co-authored-by: Jubilee <[email protected]>
1 parent 3cd4976 commit 1d5bf6b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/rustc_codegen_llvm/src/builder.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1473,9 +1473,9 @@ impl<'a, 'll, 'tcx> Builder<'a, 'll, 'tcx> {
14731473
};
14741474
let f =
14751475
self.declare_cfn(&name, llvm::UnnamedAddr::No, self.type_func(&[src_ty], dest_ty));
1476-
return Some(self.call(self.type_func(&[src_ty], dest_ty), f, &[val], None));
1476+
Some(self.call(self.type_func(&[src_ty], dest_ty), f, &[val], None))
1477+
} else {
1478+
None
14771479
}
1478-
1479-
None
14801480
}
14811481
}

0 commit comments

Comments
 (0)