1
Fork 0

Stop using to_hir_binop in codegen

This commit is contained in:
Scott McMurray 2024-05-22 00:56:57 -07:00
parent b54dd08a84
commit 8ee3d29cd9
5 changed files with 37 additions and 36 deletions

View file

@ -295,7 +295,7 @@ impl BorrowKind {
}
impl BinOp {
pub fn to_hir_binop(self) -> hir::BinOpKind {
pub(crate) fn to_hir_binop(self) -> hir::BinOpKind {
match self {
BinOp::Add => hir::BinOpKind::Add,
BinOp::Sub => hir::BinOpKind::Sub,