]> Cypherpunks repositories - gostls13.git/commit
spec: better comment in example for type definition
authorgriesemer <gri@golang.org>
Fri, 11 Aug 2017 14:51:40 +0000 (16:51 +0200)
committerRobert Griesemer <gri@golang.org>
Mon, 14 Aug 2017 13:35:43 +0000 (13:35 +0000)
commit5abc8c897ced423dae799f093cdafac68dbeb244
treedcbb94cbb42a7733b0888678464848da85cb4f9e
parent629b5e7561ab10cb11b47e3818dd861f8a030a26
spec: better comment in example for type definition

The old comment for the example

type PtrMutex *Mutex

talked about the method set of the base type of PtrMutex.
It's more direct and clearer to talk about the underlying
type of PtrMutex for this specific example.
Also removed link inside pre-formatted region of text.

Fixes #20900.

Change-Id: Ie37340e53670e34ebe13e780ba8ccb1bba67795c
Reviewed-on: https://go-review.googlesource.com/55070
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
doc/go_spec.html