Commit 2a5af744 authored by Rob Pike's avatar Rob Pike

fix wording of &T{x}

R=rsc
DELTA=5  (0 added, 2 deleted, 3 changed)
OCL=26607
CL=26607
parent 2bd101c4
...@@ -1910,11 +1910,9 @@ pi := Num{Rat{22, 7}, 3.14159, "pi"} ...@@ -1910,11 +1910,9 @@ pi := Num{Rat{22, 7}, 3.14159, "pi"}
</pre> </pre>
<p> <p>
Since evaluation of a literal creates a new value, taking the address of a Taking the address of a composite literal (§Address operators)
composite literal (§Address operators) generates a pointer to a unique generates a unique pointer to an instance of the literal's value.
instance of the literal's value.
</p> </p>
<pre> <pre>
var pi_ptr *Rat = &amp;Rat{22, 7} var pi_ptr *Rat = &amp;Rat{22, 7}
</pre> </pre>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment