]> Cypherpunks repositories - gostls13.git/commit
spec: fix Swap example (correctly swap type arguments and parameters)
authorRobert Griesemer <gri@golang.org>
Mon, 22 Nov 2021 19:43:46 +0000 (11:43 -0800)
committerRobert Griesemer <gri@golang.org>
Mon, 22 Nov 2021 23:00:32 +0000 (23:00 +0000)
commit0244343088e074c5f92b42a9812521f711a69410
tree82c839694b03c71c161c0094c3714615c33b5941
parent7456b948532e752c0ea0ac98e56e6898271f4dcd
spec: fix Swap example (correctly swap type arguments and parameters)

Thanks to @danscales for noticing the mistake.

Change-Id: I547ee80a78419765b82d39d7b34dc8d3bf962c35
Reviewed-on: https://go-review.googlesource.com/c/go/+/366215
Trust: Robert Griesemer <gri@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dan Scales <danscales@google.com>
doc/go_spec.html