diff options
Diffstat (limited to 'lib/deprecated')
-rw-r--r-- | lib/deprecated/pure/LockFreeHash.nim | 2 | ||||
-rw-r--r-- | lib/deprecated/pure/parseopt2.nim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/deprecated/pure/LockFreeHash.nim b/lib/deprecated/pure/LockFreeHash.nim index a9e68477a..97e1ef6ad 100644 --- a/lib/deprecated/pure/LockFreeHash.nim +++ b/lib/deprecated/pure/LockFreeHash.nim @@ -391,7 +391,7 @@ proc setVal[K, V](table: var PConcTable[K, V], key: int, val: int, # Done spinning for a new slot var oldVal = atomic_load_n(table[idx].value.addr, ATOMIC_RELAXED) if val == oldVal: - #echo("this val is alredy in the slot") + #echo("this val is already in the slot") return oldVal nextTable = atomic_load_n(table.next.addr, ATOMIC_SEQ_CST) if nextTable == nil and diff --git a/lib/deprecated/pure/parseopt2.nim b/lib/deprecated/pure/parseopt2.nim index 9fd6cd2c7..e57b7e2c9 100644 --- a/lib/deprecated/pure/parseopt2.nim +++ b/lib/deprecated/pure/parseopt2.nim @@ -42,7 +42,7 @@ type ## the option was given a value proc initOptParser*(cmdline: seq[string]): OptParser {.rtl.} = - ## Initalizes option parses with cmdline. cmdline should not contain + ## Initializes option parses with cmdline. cmdline should not contain ## argument 0 - program name. ## If cmdline.len == 0 default to current command line arguments. result.remainingShortOptions = "" |