[COMMITTED] ada: Fix typo in comment

Message ID 20230515094440.1409136-1-poulhies@adacore.com
State Accepted
Headers
Series [COMMITTED] ada: Fix typo in comment |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

Marc Poulhiès May 15, 2023, 9:44 a.m. UTC
  gcc/ada/

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

Tested on x86_64-pc-linux-gnu, committed on master.

---
 gcc/ada/exp_ch3.adb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/gcc/ada/exp_ch3.adb b/gcc/ada/exp_ch3.adb
index abe71b252e7..363186565f6 100644
--- a/gcc/ada/exp_ch3.adb
+++ b/gcc/ada/exp_ch3.adb
@@ -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,