diff options
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. } |