From ab940f201a65f23a5b47a12ebbfa27f7786c9154 Mon Sep 17 00:00:00 2001 From: Jeffrey Anthony Date: Tue, 16 Oct 2018 15:13:58 -0400 Subject: [PATCH] minor spelling correction whas => was --- docs/control-structures.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/control-structures.rst b/docs/control-structures.rst index 353bb61d0..c2d60df1e 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