Skip to content

Commit 6e8b9df

Browse files
zobrontcameel
authored andcommitted
docs: add clarification about post execution modifier behavior
1 parent 9bce5f9 commit 6e8b9df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/contracts/function-modifiers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ variables are set to their :ref:`default values<default-value>` just as if the f
132132
body.
133133

134134
The ``_`` symbol can appear in the modifier multiple times. Each occurrence is replaced with
135-
the function body.
135+
the function body, and the function returns the return value of the final occurrence.
136136

137137
Arbitrary expressions are allowed for modifier arguments and in this context,
138138
all symbols visible from the function are visible in the modifier. Symbols

0 commit comments

Comments
 (0)