aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend
diff options
context:
space:
mode:
authorYizhe <yizhe@pku.edu.cn>2021-02-26 07:42:39 +0000
committerPhilip Herron <herron.philip@googlemail.com>2021-03-01 10:42:27 +0000
commitf0b7bd41383ace6e68c3527ca02cacad1583c63b (patch)
tree0de263aaf1f3a15ab6b1c5c27031aa36bd398699 /gcc/rust/backend
parentc8af0988598c9cee1204f8eef111e3e89beae14d (diff)
downloadgcc-f0b7bd41383ace6e68c3527ca02cacad1583c63b.zip
gcc-f0b7bd41383ace6e68c3527ca02cacad1583c63b.tar.gz
gcc-f0b7bd41383ace6e68c3527ca02cacad1583c63b.tar.bz2
Fix typo
Diffstat (limited to 'gcc/rust/backend')
-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)