Skip to content

Commit e550a8e

Browse files
committed
Use consistent scheme for multiple implementations
When entries have multiple implementations, remove text from each header that "numbers" the implementations
1 parent eef5b84 commit e550a8e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/courses/ada-idioms/chapters/type_punning.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ both in the following subsections. The purpose in both approaches is to apply a
7373
different type, thereby making available a different type-specific view of the
7474
storage.
7575

76-
Implementation 1: Overlays
77-
~~~~~~~~~~~~~~~~~~~~~~~~~~
76+
Overlays
77+
~~~~~~~~
7878

7979
The first approach applies an alternative type to an existing object by
8080
declaring another object at the same location in memory but with a different
@@ -180,8 +180,8 @@ the other hand, even one Ada object with an address specified overlays that obje
180180
with the machine storage view of that address...)
181181

182182

183-
Implementation 2: Unchecked Conversions on Address Values
184-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
183+
Unchecked Conversions on Address Values
184+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
185185

186186
The common implementation of type punning, across multiple languages, involves
187187
converting the address of a given object into a pointer designating the

0 commit comments

Comments
 (0)