aboutsummaryrefslogtreecommitdiffstats
path: root/docs/solidity-by-example.rst
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2016-09-01 04:34:44 +0800
committerGitHub <noreply@github.com>2016-09-01 04:34:44 +0800
commit18abafe029a2eb4628136f7a944c80265da3ece4 (patch)
tree010c8a38e9541bf0d0bf5a3e29ae046931267402 /docs/solidity-by-example.rst
parent58dbd162ab369e9dd69af0b2a45a386527ed7b58 (diff)
parenta8c5d2bbde73e13dc2fc2e002bab0bd39536f162 (diff)
downloaddexon-solidity-18abafe029a2eb4628136f7a944c80265da3ece4.tar
dexon-solidity-18abafe029a2eb4628136f7a944c80265da3ece4.tar.gz
dexon-solidity-18abafe029a2eb4628136f7a944c80265da3ece4.tar.bz2
dexon-solidity-18abafe029a2eb4628136f7a944c80265da3ece4.tar.lz
dexon-solidity-18abafe029a2eb4628136f7a944c80265da3ece4.tar.xz
dexon-solidity-18abafe029a2eb4628136f7a944c80265da3ece4.tar.zst
dexon-solidity-18abafe029a2eb4628136f7a944c80265da3ece4.zip
Merge pull request #960 from Denton-L/change-else-style
Change else style
Diffstat (limited to 'docs/solidity-by-example.rst')
-rw-r--r--docs/solidity-by-example.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/solidity-by-example.rst b/docs/solidity-by-example.rst
index 61589b2e..8e23dafd 100644
--- a/docs/solidity-by-example.rst
+++ b/docs/solidity-by-example.rst
@@ -133,8 +133,7 @@ of votes.
// If the delegate already voted,
// directly add to the number of votes
proposals[delegate.vote].voteCount += sender.weight;
- }
- else {
+ } else {
// If the delegate did not vote yet,
// add to her weight.
delegate.weight += sender.weight;