Skip to content

Commit 5a5e0b5

Browse files
authored
Merge pull request #14551 from zobront/develop
docs: add clarification about post-execution modifier behavior
2 parents 9bce5f9 + 6e8b9df commit 5a5e0b5

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)