Skip to content

Commit 7ecbe2b

Browse files
Some minor tweaks
1 parent 29fe9f6 commit 7ecbe2b

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

courses/ada_essentials/070_subprograms/09-potential_pitfalls.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ Parameter Aliasing
9999

100100
:error:`error: writable actual for "Doubled" overlaps with actual for "Tripled"`
101101

102-
:color-white:`blank line`
103-
104102
----------------------------
105103
Functions' Parameter Modes
106104
----------------------------

courses/ada_essentials/075_type_derivation/02-simple_derivation.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,15 @@ Simple Type Derivation
2929
I_Obj : Integer_T := 0;
3030
N_Obj : Natural_T := 0;
3131
32-
* :ada:`I_Obj := N_Obj;` |rightarrow| generates a compile error
32+
* :ada:`I_Obj := N_Obj;` |rightarrow| generates a compile error
3333

34-
:color-red:`expected type "Integer_T" defined at line 2`
34+
:color-red:`expected type "Integer_T" defined at line 2`
3535

36-
* But a child can be converted to the parent
36+
* But a child can be converted to the parent
3737

38-
* :ada:`I_Obj := Integer_T (N_Obj);`
38+
.. code:: Ada
39+
40+
I_Obj := Integer_T (N_Obj);
3941
4042
--------------------------------------
4143
Simple Derivation and Type Structure

courses/ada_essentials/075_type_derivation/04-freeze_point.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,6 @@ Quiz
114114
C. Freeze: scope change
115115
D. :ada:`Proc_A` is a primitive
116116

117+
.. raw:: latex
117118

119+
\vspace{5mm}

0 commit comments

Comments
 (0)