From ed9cc5476e0745e8b5859f27e8215f5c26893964 Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 1 Jun 2016 23:40:38 +0200 Subject: style --- docs/solidity-by-example.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/solidity-by-example.rst b/docs/solidity-by-example.rst index 5c1810c1..04042381 100644 --- a/docs/solidity-by-example.rst +++ b/docs/solidity-by-example.rst @@ -112,9 +112,11 @@ of votes. // In this case, the delegation will not be executed, // but in other situations, such loops might // cause a contract to get "stuck" completely. - while (voters[to].delegate != address(0) && - voters[to].delegate != msg.sender) { - to = voters[to].delegate; + while ( + voters[to].delegate != address(0) && + voters[to].delegate != msg.sender + ) { + to = voters[to].delegate; } // We found a loop in the delegation, not allowed. -- cgit v1.2.3