aboutsummaryrefslogtreecommitdiffstats
path: root/docs/contracts.rst
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-09-05 20:54:50 +0800
committerchriseth <c@ethdev.com>2016-09-05 20:54:50 +0800
commit02984b8de11a9dc6ab88788bfae82530b073f1f6 (patch)
tree754aaa2856d7c57c1ff45b8a8894812ebce752fc /docs/contracts.rst
parent341c9436a8b6f5ae49265a482519e165a7f40395 (diff)
downloaddexon-solidity-02984b8de11a9dc6ab88788bfae82530b073f1f6.tar.gz
dexon-solidity-02984b8de11a9dc6ab88788bfae82530b073f1f6.tar.zst
dexon-solidity-02984b8de11a9dc6ab88788bfae82530b073f1f6.zip
Require ";" after "_"
Diffstat (limited to 'docs/contracts.rst')
-rw-r--r--docs/contracts.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst
index a22a3544..dfa79e79 100644
--- a/docs/contracts.rst
+++ b/docs/contracts.rst
@@ -321,7 +321,7 @@ inheritable properties of contracts and may be overridden by derived contracts.
modifier onlyOwner {
if (msg.sender != owner)
throw;
- _
+ _;
}
}
@@ -341,7 +341,7 @@ inheritable properties of contracts and may be overridden by derived contracts.
// Modifiers can receive arguments:
modifier costs(uint price) {
if (msg.value >= price) {
- _
+ _;
}
}
}
@@ -367,7 +367,7 @@ inheritable properties of contracts and may be overridden by derived contracts.
modifier noReentrancy() {
if (locked) throw;
locked = true;
- _
+ _;
locked = false;
}