From 966367305ad511900bedfd9af08114a0b1307399 Mon Sep 17 00:00:00 2001 From: chriseth Date: Thu, 12 Apr 2018 20:13:16 +0200 Subject: Remove dead code and clarify throw. --- docs/control-structures.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/control-structures.rst b/docs/control-structures.rst index 7024a684..879e26f7 100644 --- a/docs/control-structures.rst +++ b/docs/control-structures.rst @@ -457,7 +457,7 @@ If used properly, analysis tools can evaluate your contract to identify the cond There are two other ways to trigger exceptions: The ``revert`` function can be used to flag an error and revert the current call. It is possible to provide a string message containing details about the error that will be passed back to the caller. -The ``throw`` keyword can also be used as an alternative to ``revert()``, but is deprecated. +The deprecated keyword ``throw`` can also be used as an alternative to ``revert()`` (but only without error message). .. note:: From version 0.4.13 the ``throw`` keyword is deprecated and will be phased out in the future. -- cgit