aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Ward <chriswhward@gmail.com>2018-09-05 21:48:19 +0800
committerChris Ward <chriswhward@gmail.com>2018-09-05 21:48:19 +0800
commit7fc496b6ab23dd73f4ea7b1816ada21ec73ff254 (patch)
tree568c87c906c8480dba458f4a6190c80027f91af3
parent1475cde2889d0187c596304cbfa08a63e0e31f61 (diff)
downloaddexon-solidity-7fc496b6ab23dd73f4ea7b1816ada21ec73ff254.tar.gz
dexon-solidity-7fc496b6ab23dd73f4ea7b1816ada21ec73ff254.tar.zst
dexon-solidity-7fc496b6ab23dd73f4ea7b1816ada21ec73ff254.zip
Remove unneeded paragraph
-rw-r--r--docs/control-structures.rst3
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.