]> Cypherpunks repositories - gostls13.git/commit
spec: add () to method calls in examples
authorRuss Cox <rsc@golang.org>
Mon, 26 Nov 2012 20:43:32 +0000 (15:43 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 26 Nov 2012 20:43:32 +0000 (15:43 -0500)
commitd4f3185c24e3816acfa5760a0dc4b40b20867867
treef326659f98a8cfc66da641fcf8d855ccaaaab5c6
parent54023a94a6d7a282571ab18da7862a909d36d894
spec: add () to method calls in examples

Since p.M is rejected (must call methods), use p.M(),
to keep the examples compiling.

Fixes #4441.

R=gri
CC=golang-dev
https://golang.org/cl/6854096
doc/go_spec.html