File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ library EnumerableSet {
159159 bytes32 [] memory arr = new bytes32 [](len);
160160
161161 unchecked {
162- for (uint256 index = 0 ; index < len; index ++ ) {
162+ for (uint256 index; index < len; ++ index ) {
163163 arr[index] = at (set, index);
164164 }
165165 }
@@ -176,7 +176,7 @@ library EnumerableSet {
176176 address [] memory arr = new address [](len);
177177
178178 unchecked {
179- for (uint256 index = 0 ; index < len; index ++ ) {
179+ for (uint256 index; index < len; ++ index ) {
180180 arr[index] = at (set, index);
181181 }
182182 }
@@ -193,7 +193,7 @@ library EnumerableSet {
193193 uint256 [] memory arr = new uint256 [](len);
194194
195195 unchecked {
196- for (uint256 index = 0 ; index < len; index ++ ) {
196+ for (uint256 index; index < len; ++ index ) {
197197 arr[index] = at (set, index);
198198 }
199199 }
You can’t perform that action at this time.
0 commit comments