change 'iff' to 'if' to stop "corrections" once and for all (#14182)
This commit is contained in:
parent
9b01c6cf48
commit
9c33bcac5c
12 changed files with 37 additions and 37 deletions
|
|
@ -134,7 +134,7 @@ proc mgetOrPut*[A, B](t: var SharedTable[A, B], key: A, val: B): var B =
|
|||
mgetOrPutImpl(enlarge)
|
||||
|
||||
proc hasKeyOrPut*[A, B](t: var SharedTable[A, B], key: A, val: B): bool =
|
||||
## returns true iff `key` is in the table, otherwise inserts `value`.
|
||||
## returns true if `key` is in the table, otherwise inserts `value`.
|
||||
withLock t:
|
||||
hasKeyOrPutImpl(enlarge)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue