mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 08:54:53 +00:00
fixes some typos
This commit is contained in:
@@ -81,7 +81,7 @@ allowing you to create commercial applications.
|
||||
|
||||
Read copying.txt for more details.
|
||||
|
||||
Copyright (c) 2006-2015 Andreas Rumpf.
|
||||
Copyright (c) 2006-2016 Andreas Rumpf.
|
||||
All rights reserved.
|
||||
|
||||
# Build Status
|
||||
|
||||
@@ -14,5 +14,5 @@ allowing you to create commercial applications.
|
||||
|
||||
Read copying.txt for more details.
|
||||
|
||||
Copyright (c) 2006-2015 Andreas Rumpf.
|
||||
Copyright (c) 2006-2016 Andreas Rumpf.
|
||||
All rights reserved.
|
||||
|
||||
@@ -101,7 +101,7 @@ The following used to work as the environment creation used to be attached to th
|
||||
var s: seq[proc(): int {.closure.}] = @[]
|
||||
for i in 0 ..< 30:
|
||||
let ii = i
|
||||
s.add(proc(): string = return ii*ii))
|
||||
s.add(proc(): int = return ii*ii))
|
||||
|
||||
This behaviour has changed in 0.13.0 and now needs to be written as:
|
||||
|
||||
@@ -119,7 +119,7 @@ per proc call. This change is subtle and unfortunate, but:
|
||||
|
||||
1. Affects almost no code out there.
|
||||
2. Is easier to implement and we are at a point in Nim's development process where simple+stable wins over perfect-in-theory+unstable-in-practice.
|
||||
3. Implies programmers are more in control of where memory is allocated which is benefitical for a systems programming language.
|
||||
3. Implies programmers are more in control of where memory is allocated which is beneficial for a systems programming language.
|
||||
|
||||
Bugfixes
|
||||
--------
|
||||
|
||||
Reference in New Issue
Block a user