]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gccrs: Fix spelling
authorOwen Avery <powerboat9.gamer@gmail.com>
Tue, 19 Sep 2023 15:48:02 +0000 (11:48 -0400)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 18:04:37 +0000 (19:04 +0100)
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>
gcc/rust/ast/rust-expr.h
gcc/rust/backend/rust-compile-expr.cc
gcc/rust/backend/rust-compile-implitem.h
gcc/rust/backend/rust-constexpr.cc

index 69937bf3fda4da0fd155e58d7a292ea3e62bcd4a..012b055782364dba567a2fba60af45f1c52c02e1 100644 (file)
@@ -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;
index b827f4cf82eadcb2502050d9dea527016e8bd96b..6d88b398bd36755d6b6d52911a091cd10806e6a5 100644 (file)
@@ -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++)
        {
index d9194a2d2e0e085a55cbc740c739c312d5575a47..69933bff8c564e6183ad4a2523f1a90899b70af6 100644 (file)
@@ -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:
index 582eda2d1abd3b5da9d15b0d5b15450857dd35c3..bfd7d959aa8820a2a49ef90cce9ecde54e3bdfdf 100644 (file)
@@ -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.  */