aboutsummaryrefslogtreecommitdiffstats
path: root/docs/control-structures.rst
diff options
context:
space:
mode:
authorJeffrey Anthony <jeffanthonyfds@gmail.com>2018-10-17 03:13:58 +0800
committerGitHub <noreply@github.com>2018-10-17 03:13:58 +0800
commitab940f201a65f23a5b47a12ebbfa27f7786c9154 (patch)
tree84e3fec5cce66373258969fb3357dd0c9d0bf5b2 /docs/control-structures.rst
parent72b1bb00bd86ea3c647b3f327c416ab8f3421166 (diff)
downloaddexon-solidity-ab940f201a65f23a5b47a12ebbfa27f7786c9154.tar.gz
dexon-solidity-ab940f201a65f23a5b47a12ebbfa27f7786c9154.tar.zst
dexon-solidity-ab940f201a65f23a5b47a12ebbfa27f7786c9154.zip
minor spelling correction
whas => was
Diffstat (limited to 'docs/control-structures.rst')
-rw-r--r--docs/control-structures.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/control-structures.rst b/docs/control-structures.rst
index 353bb61d..c2d60df1 100644
--- a/docs/control-structures.rst
+++ b/docs/control-structures.rst
@@ -416,7 +416,7 @@ that will be passed back to the caller.
.. note::
There used to be a keyword called ``throw`` with the same semantics as ``revert()`` which
- whas deprecated in version 0.4.13 and removed in version 0.5.0.
+ was deprecated in version 0.4.13 and removed in version 0.5.0.
When exceptions happen in a sub-call, they "bubble up" (i.e. exceptions are rethrown) automatically. Exceptions to this rule are ``send``
and the low-level functions ``call``, ``delegatecall`` and ``staticcall`` -- those return ``false`` as their first return value in case