From 941d305044691bbe6ceae5bd7e8eaaf737f1a932 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Venturo?= Date: Tue, 4 Feb 2020 19:35:31 -0300 Subject: [PATCH] Update docs --- contracts/utils/EnumerableSet.sol | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/contracts/utils/EnumerableSet.sol b/contracts/utils/EnumerableSet.sol index 8ed12155c..2ea0d169e 100644 --- a/contracts/utils/EnumerableSet.sol +++ b/contracts/utils/EnumerableSet.sol @@ -13,8 +13,7 @@ pragma solidity ^0.5.0; * * As of v2.5.0, only `address` sets are supported. * - * Include with `using EnumerableSet for EnumerableSet.AddressSet;`, and use - * {newAddressSet} to create a new `AddressSet`. + * Include with `using EnumerableSet for EnumerableSet.AddressSet;`. * * _Available since v2.5.0._ * @@ -112,8 +111,6 @@ library EnumerableSet { /** * @dev Returns the number of elements on the set. O(1). - * Note that there are no guarantees on the ordering of values inside the - * array, and it may change when more values are added or removed. */ function length(AddressSet storage set) internal @@ -128,8 +125,8 @@ library EnumerableSet { * array, and it may change when more values are added or removed. * * Requirements: - * - * - `index` must be strictly less than {length}. + * + * - `index` must be strictly less than {length}. */ function get(AddressSet storage set, uint256 index) internal