summary refs log tree commit diff stats
path: root/web/news.txt
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-01-19 09:42:10 +0100
committerAndreas Rumpf <rumpf_a@web.de>2016-01-19 09:42:10 +0100
commit2dfefc200b7ccf9fad4ff5dcc4dce3bf2efc7845 (patch)
tree25d355385d6b488f9a94b3ba8f9b068d5073a185 /web/news.txt
parentfaea0f9a70ee8850191a1e7ab3cc0da0e3a2cf8f (diff)
downloadNim-2dfefc200b7ccf9fad4ff5dcc4dce3bf2efc7845.tar.gz
fixes some typos
Diffstat (limited to 'web/news.txt')
-rw-r--r--web/news.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/news.txt b/web/news.txt
index aa772a415..ba053689c 100644
--- a/web/news.txt
+++ b/web/news.txt
@@ -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
 --------