aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-10-11 02:54:21 +0800
committerGitHub <noreply@github.com>2018-10-11 02:54:21 +0800
commit6e61d9249507a280c83da95835b75f2c459f1b84 (patch)
tree851ee0700dfa77347412bb0cc03177170efd826d /docs
parentf33fc995586373807dcabfc0f6f1b5b0a3fe66e9 (diff)
downloaddexon-solidity-6e61d9249507a280c83da95835b75f2c459f1b84.tar.gz
dexon-solidity-6e61d9249507a280c83da95835b75f2c459f1b84.tar.zst
dexon-solidity-6e61d9249507a280c83da95835b75f2c459f1b84.zip
Fix typo in yul example
Diffstat (limited to 'docs')
-rw-r--r--docs/yul.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/yul.rst b/docs/yul.rst
index a55445f3..9e9fac8e 100644
--- a/docs/yul.rst
+++ b/docs/yul.rst
@@ -44,7 +44,7 @@ and ``mod`` are available either natively or as functions and computes exponenti
switch exponent
case 0:u256 { result := 1:u256 }
case 1:u256 { result := base }
- default:
+ default
{
result := power(mul(base, base), div(exponent, 2:u256))
switch mod(exponent, 2:u256)