From 280fd2bb0e7fae6bb7340b711d951d6385f940a5 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sat, 3 Aug 2019 08:23:37 -0400 Subject: content/experiment: two more typos Change-Id: Iea2b14a8bf7b4475ed6b8ae5823ee2437444cdb8 Reviewed-on: https://go-review.googlesource.com/c/blog/+/188768 Run-TryBot: Russ Cox TryBot-Result: Gobot Gobot Reviewed-by: Russ Cox --- content/experiment.article | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'content/experiment.article') 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, -- cgit v1.2.3