aboutsummaryrefslogtreecommitdiffstats
path: root/docs/solidity-by-example.rst
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-04-18 18:36:00 +0800
committerGitHub <noreply@github.com>2017-04-18 18:36:00 +0800
commit82628a80cc14ee4e6d0d8d0474086cb2a5571d35 (patch)
tree6683fdefc43100d7704e58a49db272fad5ecc271 /docs/solidity-by-example.rst
parentd093f42eb65fe13ac2d850b6c6456f16ae256a8f (diff)
parent98242f5409b9683166e041d6abf082d3fe80ff0c (diff)
downloaddexon-solidity-82628a80cc14ee4e6d0d8d0474086cb2a5571d35.tar.gz
dexon-solidity-82628a80cc14ee4e6d0d8d0474086cb2a5571d35.tar.zst
dexon-solidity-82628a80cc14ee4e6d0d8d0474086cb2a5571d35.zip
Merge pull request #2125 from abrahamsangha/fix-typo-solidity-by-example
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;