aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-expr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.cc')
-rw-r--r--gcc/rust/backend/rust-compile-expr.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rust/backend/rust-compile-expr.cc b/gcc/rust/backend/rust-compile-expr.cc
index b827f4c..6d88b39 100644
--- a/gcc/rust/backend/rust-compile-expr.cc
+++ b/gcc/rust/backend/rust-compile-expr.cc
@@ -473,7 +473,7 @@ CompileExpr::visit (HIR::StructExprStructFields &struct_expr)
else
{
// this assumes all fields are in order from type resolution and if a
- // base struct was specified those fields are filed via accesors
+ // base struct was specified those fields are filed via accessors
for (size_t i = 0; i < struct_expr.get_fields ().size (); i++)
{
// assignments are coercion sites so lets convert the rvalue if
@@ -1552,7 +1552,7 @@ CompileExpr::visit (HIR::CallExpr &expr)
}
// this assumes all fields are in order from type resolution and if a
- // base struct was specified those fields are filed via accesors
+ // base struct was specified those fields are filed via accessors
std::vector<tree> arguments;
for (size_t i = 0; i < expr.get_arguments ().size (); i++)
{