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 @@ -53,7 +53,7 @@ invariant indexedContained(uint256 index)
5353
5454/ *
5555┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
56- │ Invariant : A value can only be stored at a single location │
56+ │ Invariant : A key can only be stored at a single location │
5757└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
5858* /
5959invariant atUniqueness (uint256 index1 , uint256 index2 )
@@ -72,9 +72,9 @@ invariant atUniqueness(uint256 index1, uint256 index2)
7272
7373/ *
7474┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
75- │ Invariant : index <> value relationship is consistent │
75+ │ Invariant : index <> key relationship is consistent │
7676│ │
77- │ Note that the two consistencyXxx invariants , put together , prove that at_ and _positionOf are inverse of one │
77+ │ Note that the two consistencyXxx invariants , put together , prove that key_at and _positionOf are inverse of one │
7878│ another . This proves that we have a bijection between indices (the enumerability part ) and keys (the entries that │
7979│ are set and removed from the EnumerableMap ). │
8080└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
You can’t perform that action at this time.
0 commit comments