aboutsummaryrefslogtreecommitdiff
path: root/content/experiment.article
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2019-08-03 08:23:37 -0400
committerRuss Cox <rsc@golang.org>2019-08-03 12:29:40 +0000
commit280fd2bb0e7fae6bb7340b711d951d6385f940a5 (patch)
tree5ec7565eb5a39b3cbf184d7076bff29bc785233e /content/experiment.article
parentc732b71b8b4192b605b02b7c5c3da14743a5815d (diff)
content/experiment: two more typos
Change-Id: Iea2b14a8bf7b4475ed6b8ae5823ee2437444cdb8 Reviewed-on: https://go-review.googlesource.com/c/blog/+/188768 Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'content/experiment.article')
-rw-r--r--content/experiment.article4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/experiment.article b/content/experiment.article
index f25726e..6a964b9 100644
--- a/content/experiment.article
+++ b/content/experiment.article
@@ -50,7 +50,7 @@ it was common to write code like this `addToList` function:
func addToList(list []int, x int) []int {
n := len(list)
- if n+1 < cap(list) {
+ if n+1 > cap(list) {
big := make([]int, n, (n+5)*2)
copy(big, list)
list = big
@@ -181,7 +181,7 @@ and the process cycles on and on.
We shipped Go to all of you for the first time
on November 10, 2009.
-Then, with your help, we shipped Go 1 together in March 2011.
+Then, with your help, we shipped Go 1 together in March 2012.
And we’ve shipped twelve Go releases since then.
All of these were important milestones,
to enable more experimentation,