Skip to content

Commit

Permalink
fix some rendering issues
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Sep 7, 2024
1 parent f1c2807 commit 8f92970
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/lua/lib/range.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ This module directly ports some of the logic found in Python's :external:py:func

.. lua:function:: range_entry3(start, step, idx)
:return: The ``start + (step * idx)``
:return: ``start + (step * idx)``
:rtype: number

.. lua:function:: range_entry4(start, stop, step, idx)
:return: The ``idx``th entry of ``start,(stop-1),step``
:return: The ``idx``\ :sup:`th` entry of ``start,(stop-1),step``
:rtype: number

.. literalinclude:: ../../../lua/src/lib/range.lua
.. literalinclude:: ../../../../lua/src/lib/range.lua
:language: Lua
:linenos:

0 comments on commit 8f92970

Please sign in to comment.