Skip to content

Commit 96cf4cc

Browse files
Minor tweaks
1 parent a3941b4 commit 96cf4cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

courses/fundamentals_of_ada/050_array_types/01-introduction.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ What Is an Array?
1010

1111
* Syntax (simplified):
1212

13-
``type <typename> is array (<index type>) is of <component type>``
13+
``type <typename> is array (<index type>) of <component type>``
1414

1515
where
1616

@@ -23,12 +23,12 @@ where
2323
- Type of values stored in the array
2424
- All components are of this same type and size
2525

26-
.. image:: array_diagram.svg
27-
2826
.. code:: Ada
2927
3028
type Array_T is array (0 .. 3) of Interfaces.Integer_32;
3129
30+
.. image:: array_diagram.svg
31+
3232
---------------
3333
Arrays in Ada
3434
---------------

0 commit comments

Comments
 (0)