aboutsummaryrefslogtreecommitdiffstats
path: root/docs/solidity-by-example.rst
diff options
context:
space:
mode:
authorAbraham Sangha <abraham.sangha@cognizant.com>2017-04-15 09:05:53 +0800
committerAbraham Sangha <abraham.sangha@cognizant.com>2017-04-15 09:05:53 +0800
commit98242f5409b9683166e041d6abf082d3fe80ff0c (patch)
treea96115d4b21afc0f6e5c8b6e61912ddfd5d6ba35 /docs/solidity-by-example.rst
parentd626876310c6c4d134b97b847d199dd78d3c5bea (diff)
downloaddexon-solidity-98242f5409b9683166e041d6abf082d3fe80ff0c.tar.gz
dexon-solidity-98242f5409b9683166e041d6abf082d3fe80ff0c.tar.zst
dexon-solidity-98242f5409b9683166e041d6abf082d3fe80ff0c.zip
minor: fix formatting and grammar
Diffstat (limited to 'docs/solidity-by-example.rst')
-rw-r--r--docs/solidity-by-example.rst5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/solidity-by-example.rst b/docs/solidity-by-example.rst
index 7e08c6b4..3d6221e4 100644
--- a/docs/solidity-by-example.rst
+++ b/docs/solidity-by-example.rst
@@ -51,8 +51,7 @@ of votes.
}
// This is a type for a single proposal.
- struct Proposal
- {
+ struct Proposal {
bytes32 name; // short name (up to 32 bytes)
uint voteCount; // number of accumulated votes
}
@@ -285,7 +284,7 @@ activate themselves.
// highestBidder.send(highestBid) is a security risk
// because it can be prevented by the caller by e.g.
// raising the call stack to 1023. It is always safer
- // to let the recipient withdraw their money themselves.
+ // to let the recipients withdraw their money themselves.
pendingReturns[highestBidder] += highestBid;
}
highestBidder = msg.sender;