Skip to content

Commit 3e213d1

Browse files
committed
minor #4625 [Doc] Fix intro for operator precedence table ? (hellomedia)
This PR was merged into the 3.x branch. Discussion ---------- [Doc] Fix intro for operator precedence table ? The table introductory paragraph says operator with lowest precedence are listed first ( I assume it means "listed first in the operator table" ). However, the table starts with a precedence of 500, which seems to be the highest. Am I completely misreading this ? Commits ------- 26a12f7 Fix intro for operator precedence table ?
2 parents f502c9e + 26a12f7 commit 3e213d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/templates.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1079,7 +1079,7 @@ Twig uses operators to perform various operations within templates.
10791079
Understanding the precedence of these operators is crucial for writing correct
10801080
and efficient Twig templates.
10811081

1082-
The operator precedence rules are as follows, with the lowest-precedence
1082+
The operator precedence rules are as follows, with the highest-precedence
10831083
operators listed first.
10841084

10851085
.. include:: operators_precedence.rst

0 commit comments

Comments
 (0)