mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 20:06:31 +00:00
add a comma to clarify the meaning
Without the comma you could understand that the "if" not only applied to `-1`, but to `1` as well if you read too quickly.
This commit is contained in:
committed by
GitHub
parent
c88edc8c75
commit
7cd3c9d25f
@@ -36,7 +36,7 @@ decrement for negative values):
|
|||||||
{# outputs 3, 2, 1, 0, #}
|
{# outputs 3, 2, 1, 0, #}
|
||||||
|
|
||||||
The Twig built-in ``..`` operator is just syntactic sugar for the ``range``
|
The Twig built-in ``..`` operator is just syntactic sugar for the ``range``
|
||||||
function (with a step of ``1`` or ``-1`` if the start is greater than the end):
|
function (with a step of ``1``, or ``-1`` if the start is greater than the end):
|
||||||
|
|
||||||
.. code-block:: jinja
|
.. code-block:: jinja
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user