aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2016-07-25 13:30:30 +1000
committerAndrew Gerrand <adg@golang.org>2016-07-25 03:59:20 +0000
commitc9941e54e5b8e9618a8c951bc89798f85f6a7a71 (patch)
tree11d66c2e93184e84a138b9fc184b0cb018391c4e
parent4044bee91eb5f9318337ee5d7270efc441a5338a (diff)
downloadgolang-id-tour-c9941e54e5b8e9618a8c951bc89798f85f6a7a71.tar.xz
content: say that a a pointer points to a 'value', not 'variable'
Fixes golang/go#16482 Change-Id: I8f30f817808eb65db3fa77ec810af978bf92ae24 Reviewed-on: https://go-review.googlesource.com/25163 Reviewed-by: Rob Pike <r@golang.org>
-rw-r--r--content/moretypes.article2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/moretypes.article b/content/moretypes.article
index bfae74f..64f7dc7 100644
--- a/content/moretypes.article
+++ b/content/moretypes.article
@@ -7,7 +7,7 @@ https://golang.org
* Pointers
Go has pointers.
-A pointer holds the memory address of a variable.
+A pointer holds the memory address of a value.
The type `*T` is a pointer to a `T` value. Its zero value is `nil`.