diff options
Diffstat (limited to 'docs/control-structures.rst')
-rw-r--r-- | docs/control-structures.rst | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/docs/control-structures.rst b/docs/control-structures.rst index 3d056180..5810aaa7 100644 --- a/docs/control-structures.rst +++ b/docs/control-structures.rst @@ -142,9 +142,6 @@ the gas can be specified with special options ``.value()`` and ``.gas()``, respe You need to use the modifier ``payable`` with the ``info`` function because otherwise, the ``.value()`` option would not be available. -You can also use ``function setFeed(InfoFeed _feed) { feed = _feed; }`` -directly. - .. warning:: Be careful that ``feed.info.value(10).gas(800)`` only locally sets the ``value`` and amount of ``gas`` sent with the function call, and the parentheses at the end perform the actual call. |