From 7e838fd4a875e6a1f7e7ec60d7b4c5502e22dde4 Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 2 May 2017 14:12:25 +0200 Subject: Cleanup to make the docs more consistent. --- docs/contracts.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/contracts.rst') 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. } -- cgit