From 6e61d9249507a280c83da95835b75f2c459f1b84 Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 10 Oct 2018 20:54:21 +0200 Subject: [PATCH] Fix typo in yul example --- docs/yul.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/yul.rst b/docs/yul.rst index a55445f34..9e9fac8ec 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)