diff options
author | Rob Pike <r@golang.org> | 2009-03-20 17:03:48 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2009-03-20 17:03:48 -0700 |
commit | 3308a5032636f93ce81335c42c4a31e5a42c80b5 (patch) | |
tree | f33c56b41104a85b7869f68a281069bab53eea96 | |
parent | b3e6c9aab3f96ddf2c0be0832b70ab1e504bbb3c (diff) | |
download | golang-3308a5032636f93ce81335c42c4a31e5a42c80b5.tar.gz |
fix wording of &T{x}
R=rsc
DELTA=5 (0 added, 2 deleted, 3 changed)
OCL=26607
CL=26607
-rw-r--r-- | doc/go_spec.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html index 935787f8a..4100610f6 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1910,11 +1910,9 @@ pi := Num{Rat{22, 7}, 3.14159, "pi"} </pre> <p> -Since evaluation of a literal creates a new value, taking the address of a -composite literal (§Address operators) generates a pointer to a unique -instance of the literal's value. +Taking the address of a composite literal (§Address operators) +generates a unique pointer to an instance of the literal's value. </p> - <pre> var pi_ptr *Rat = &Rat{22, 7} </pre> |