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>
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 @@
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 @@
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,