diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2023-09-19 11:48:02 -0400 |
---|---|---|
committer | Marc Poulhiès <dkm@kataplop.net> | 2023-09-19 17:10:06 +0000 |
commit | 4d6a0094e9b0316d80b264fa85347b29be43af68 (patch) | |
tree | db1174a553eab3e6d5de725c859bf5ec2acc583c /gcc | |
parent | 612a48a8891fe80d71a0ae1c7d7f450f2e5d78fc (diff) | |
download | gcc-4d6a0094e9b0316d80b264fa85347b29be43af68.zip gcc-4d6a0094e9b0316d80b264fa85347b29be43af68.tar.gz gcc-4d6a0094e9b0316d80b264fa85347b29be43af68.tar.bz2 |
Fix spelling
gcc/rust/ChangeLog:
* ast/rust-expr.h: Fix spelling of "doesn't".
* backend/rust-compile-expr.cc: Fix spelling of "accessors".
* backend/rust-compile-implitem.h: Fix spelling of "normal".
* backend/rust-constexpr.cc: Fix spelling of "actual".
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/rust/ast/rust-expr.h | 4 | ||||
-rw-r--r-- | gcc/rust/backend/rust-compile-expr.cc | 4 | ||||
-rw-r--r-- | gcc/rust/backend/rust-compile-implitem.h | 2 | ||||
-rw-r--r-- | gcc/rust/backend/rust-constexpr.cc | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/gcc/rust/ast/rust-expr.h b/gcc/rust/ast/rust-expr.h index 69937bf..012b055 100644 --- a/gcc/rust/ast/rust-expr.h +++ b/gcc/rust/ast/rust-expr.h @@ -4594,14 +4594,14 @@ struct InlineAsmTemplatePiece struct TupleClobber { - // as gccrs still doesen't contain a symbol class I have put them as strings + // as gccrs still doesn't contain a symbol class I have put them as strings std::string symbol; location_t loc; }; struct TupleTemplateStr { - // as gccrs still doesen't contain a symbol class I have put them as strings + // as gccrs still doesn't contain a symbol class I have put them as strings std::string symbol; std::string optional_symbol; location_t loc; diff --git a/gcc/rust/backend/rust-compile-expr.cc b/gcc/rust/backend/rust-compile-expr.cc index 361941a..bd91c91 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++) { diff --git a/gcc/rust/backend/rust-compile-implitem.h b/gcc/rust/backend/rust-compile-implitem.h index 745d73a..bcd8272 100644 --- a/gcc/rust/backend/rust-compile-implitem.h +++ b/gcc/rust/backend/rust-compile-implitem.h @@ -24,7 +24,7 @@ namespace Rust { namespace Compile { -// this is a proxy for HIR::ImplItem's back to use the normel HIR::Item path +// this is a proxy for HIR::ImplItem's back to use the normal HIR::Item path class CompileInherentImplItem : public CompileItem { public: diff --git a/gcc/rust/backend/rust-constexpr.cc b/gcc/rust/backend/rust-constexpr.cc index e630e13..9e19566 100644 --- a/gcc/rust/backend/rust-constexpr.cc +++ b/gcc/rust/backend/rust-constexpr.cc @@ -141,7 +141,7 @@ struct GTY ((for_user)) rust_constexpr_call /* Result of the call. NULL means the call is being evaluated. error_mark_node means that the evaluation was erroneous; - otherwise, the actuall value of the call. */ + otherwise, the actual value of the call. */ tree result; /* The hash of this call; we remember it here to avoid having to recalculate it when expanding the hash table. */ |