fix several typos in documentation and comments (#12553)

This commit is contained in:
Nindaleth 2019-10-30 09:08:45 +01:00 • committed by Miran
commit 34dbc5699e
29 changed files with 37 additions and 37 deletions

View file

@ -1361,7 +1361,7 @@ when isMainModule:
doAssert foo1(openArray[int]([identity(1), identity(2)])) == @[10, 20]
doAssert counter == 2
# Corner cases (openArray litterals should not be common)
# Corner cases (openArray literals should not be common)
template foo2(x: openArray[int]): seq[int] = x.mapIt(it * 10)
counter = 0
doAssert foo2(openArray[int]([identity(1), identity(2)])) == @[10, 20]