From 6e8b9dff5106e14a9d155b2fdb4545fa9633e5db Mon Sep 17 00:00:00 2001 From: Zach Obront Date: Thu, 7 Sep 2023 16:08:46 -0500 Subject: [PATCH] docs: add clarification about post execution modifier behavior --- docs/contracts/function-modifiers.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contracts/function-modifiers.rst b/docs/contracts/function-modifiers.rst index 0d597c0b6..454e12ab6 100644 --- a/docs/contracts/function-modifiers.rst +++ b/docs/contracts/function-modifiers.rst @@ -132,7 +132,7 @@ variables are set to their :ref:`default values` just as if the f body. The ``_`` symbol can appear in the modifier multiple times. Each occurrence is replaced with -the function body. +the function body, and the function returns the return value of the final occurrence. Arbitrary expressions are allowed for modifier arguments and in this context, all symbols visible from the function are visible in the modifier. Symbols