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

@ -213,7 +213,7 @@ proc dealloc(r: var MemRegion; p: pointer; size: int) =
if it.typ != nil and it.typ.finalizer != nil:
(cast[Finalizer](it.typ.finalizer))(p)
it.typ = nil
# it is benefitial to not use the free lists here:
# it is beneficial to not use the free lists here:
if r.bump -! size == p:
dec r.bump, size
when false: