Skip to content

Commit

Permalink
textbook highlight fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Coxall committed Dec 2, 2023
1 parent bf9ebd4 commit 0cc59f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/holding-data/array-as-a-parameter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To declare an array as a parameter in a function, it would look like this:
.. code-block:: C
.. literalinclude:: ../../code_examples/5-Holding_Data/1-Arrays/1-Array_as_a_Parameter/C/main.c
:language: C
:lines: 11-13
:lines: 11-12
.. group-tab:: C++
.. code-block:: C++
Expand Down Expand Up @@ -63,7 +63,7 @@ To pass an array into this function as a parameter, it would look like this:
.. code-block:: C
.. literalinclude:: ../../code_examples/5-Holding_Data/1-Arrays/1-Array_as_a_Parameter/C/main.c
:language: C
:lines: 43
:lines: 44
.. group-tab:: C++
.. code-block:: C++
Expand Down Expand Up @@ -113,7 +113,7 @@ Code for Creating an Array
.. literalinclude:: ../../code_examples/5-Holding_Data/1-Arrays/1-Array_as_a_Parameter/C/main.c
:language: C
:linenos:
:emphasize-lines: 11-25, 41-43
:emphasize-lines: 11-24, 42-44
.. group-tab:: C++
.. code-block:: C++
Expand Down

0 comments on commit 0cc59f1

Please sign in to comment.