]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Minor typo fix in documentation
authorMarc Poulhiès <poulhies@adacore.com>
Thu, 26 Mar 2026 12:00:06 +0000 (13:00 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Fri, 29 May 2026 08:49:50 +0000 (10:49 +0200)
gcc/ada/ChangeLog:

* doc/gnat_rm/gnat_language_extensions.rst (Destructors): fix
typo.
* gnat_rm.texi: Regenerate.

gcc/ada/doc/gnat_rm/gnat_language_extensions.rst
gcc/ada/gnat_rm.texi

index de08d892dcaf1040da83a8c99dac9596c9687fb6..97a9ea430d019f39f45cd8464f2e54040427f184 100644 (file)
@@ -1828,7 +1828,8 @@ Destructors
 -----------
 
 The :ada:`Destructor` extension adds a new finalization mechanism that
-significantly differs standard Ada in how it interacts with type derivation.
+significantly differs from standard Ada in how it interacts with type
+derivation.
 
 New syntax is introduced to make it possible to define "destructors" for record
 types, tagged or untagged. Here's a simple example:
index 993bbdbd84c448123934546412ee0171f9ca48d1..6ce7aa9e88540dc9f94ba3efc60c2accfdc844dd 100644 (file)
@@ -32947,7 +32947,8 @@ configuration that does not exist in standard Ada.
 
 
 The @code{Destructor} extension adds a new finalization mechanism that
-significantly differs standard Ada in how it interacts with type derivation.
+significantly differs from standard Ada in how it interacts with type
+derivation.
 
 New syntax is introduced to make it possible to define “destructors” for record
 types, tagged or untagged. Here’s a simple example: