]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Fix typo in comment
authorMarc Poulhiès <poulhies@adacore.com>
Mon, 16 Jan 2023 15:31:51 +0000 (16:31 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Mon, 15 May 2023 09:36:43 +0000 (11:36 +0200)
gcc/ada/

* exp_ch3.adb (Make_Allocator_For_Return): Fix typo in comment.

gcc/ada/exp_ch3.adb

index abe71b252e7761a8da1cb8d7a42a2705c6a6694f..363186565f673210540417a006bd23f3fa314936 100644 (file)
@@ -7196,7 +7196,7 @@ package body Exp_Ch3 is
             --  We always use the type of the expression for the qualified
             --  expression, rather than the return object's type. We cannot
             --  always use the return object's type because the expression
-            --  might be of a specific type and the return object mignt not.
+            --  might be of a specific type and the return object might not.
 
             Alloc :=
               Make_Allocator (Loc,