diff options
author | chriseth <chris@ethereum.org> | 2017-05-02 20:12:25 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-05-03 18:03:02 +0800 |
commit | 7e838fd4a875e6a1f7e7ec60d7b4c5502e22dde4 (patch) | |
tree | bb7a425dcbf890588eb6caea6fca5df610555e3c /docs/contracts.rst | |
parent | 2b4b86aa7f72d8f7c2c4e250953d8f9018f4fd53 (diff) | |
download | dexon-solidity-7e838fd4a875e6a1f7e7ec60d7b4c5502e22dde4.tar dexon-solidity-7e838fd4a875e6a1f7e7ec60d7b4c5502e22dde4.tar.gz dexon-solidity-7e838fd4a875e6a1f7e7ec60d7b4c5502e22dde4.tar.bz2 dexon-solidity-7e838fd4a875e6a1f7e7ec60d7b4c5502e22dde4.tar.lz dexon-solidity-7e838fd4a875e6a1f7e7ec60d7b4c5502e22dde4.tar.xz dexon-solidity-7e838fd4a875e6a1f7e7ec60d7b4c5502e22dde4.tar.zst dexon-solidity-7e838fd4a875e6a1f7e7ec60d7b4c5502e22dde4.zip |
Cleanup to make the docs more consistent.
Diffstat (limited to 'docs/contracts.rst')
-rw-r--r-- | docs/contracts.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst index a26d5a5e..8d7af2c1 100644 --- a/docs/contracts.rst +++ b/docs/contracts.rst @@ -1034,7 +1034,7 @@ more advanced example to implement a set). // The library functions can be called without a // specific instance of the library, since the // "instance" will be the current contract. - assert(Set.insert(knownValues, value)); + require(Set.insert(knownValues, value)); } // In this contract, we can also directly access knownValues.flags, if we want. } |