summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorXiao Cui <constantine124@gmail.com>2022-12-28 19:35:13 -0500
committerGopher Robot <gobot@golang.org>2022-12-29 23:36:05 +0000
commitdb36eca33c389871b132ffb1a84fd534a349e8d8 (patch)
tree256c3b6270d0f685bc73ba8b761213a16c3af232 /doc
parent642fd5f7cea0f1e214bacfd3a530ee12f9721899 (diff)
downloadgo-git-db36eca33c389871b132ffb1a84fd534a349e8d8.tar.gz
doc/go1.20: fix typos
Change-Id: Ie2e583cba9e9bec7d642e323e77fb2d9b05dc7bc Reviewed-on: https://go-review.googlesource.com/c/go/+/459780 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/go1.20.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/go1.20.html b/doc/go1.20.html
index 9f506134e6..aec3e25285 100644
--- a/doc/go1.20.html
+++ b/doc/go1.20.html
@@ -292,7 +292,7 @@ Do not send CLs removing the interior tags from such phrases.
<p><!-- CL 423359, https://go.dev/issue/51317 -->
The runtime now has experimental support for memory-safe arena allocation
that makes it possible to eagerly free memory in bulk.
- When used appopriately, it has the potential to improve CPU performance by
+ When used appropriately, it has the potential to improve CPU performance by
up to 15% in memory-allocation-heavy applications.
To try it out, build your Go program with <code>GOEXPERIMENT=arenas</code>,
which will make the <code>arena</code> package visible to your program.
@@ -381,7 +381,7 @@ Do not send CLs removing the interior tags from such phrases.
<code>$HOME/go1.4</code> (<code>%HOMEDRIVE%%HOMEPATH%\go1.4</code> on Windows).
Go 1.18 and Go 1.19 looked first for <code>$HOME/go1.17</code> or <code>$HOME/sdk/go1.17</code>
before falling back to <code>$HOME/go1.4</code>,
- in ancitipation of requiring Go 1.17 for use when bootstrapping Go 1.20.
+ in anticipation of requiring Go 1.17 for use when bootstrapping Go 1.20.
Go 1.20 does require a Go 1.17 release for bootstrapping, but we realized that we should
adopt the latest point release of the bootstrap toolchain, so it requires Go 1.17.13.
Go 1.20 looks for <code>$HOME/go1.17.13</code> or <code>$HOME/sdk/go1.17.13</code>