aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-expr.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.h')
-rw-r--r--gcc/rust/backend/rust-compile-expr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/backend/rust-compile-expr.h b/gcc/rust/backend/rust-compile-expr.h
index 7d3f9d9..1c20979 100644
--- a/gcc/rust/backend/rust-compile-expr.h
+++ b/gcc/rust/backend/rust-compile-expr.h
@@ -316,7 +316,7 @@ public:
auto location = expr.get_locus ();
translated
- = ctx->get_backend ()->comparision_expression (op, lhs, rhs, location);
+ = ctx->get_backend ()->comparison_expression (op, lhs, rhs, location);
}
void visit (HIR::LazyBooleanExpr &expr)