1
0
mirror of https://github.com/golang/go synced 2024-11-24 18:10:02 -07:00

spec: add missing comma.

A real humdinger.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/4538089
This commit is contained in:
Rob Pike 2011-05-25 06:00:07 +10:00
parent b32ad8bff5
commit bdbe0decc6

View File

@ -1696,7 +1696,7 @@ of an interface type or of elements of a composite type remains unchanged:
</p> </p>
<pre> <pre>
// A Mutex is a data type with two methods Lock and Unlock. // A Mutex is a data type with two methods, Lock and Unlock.
type Mutex struct { /* Mutex fields */ } type Mutex struct { /* Mutex fields */ }
func (m *Mutex) Lock() { /* Lock implementation */ } func (m *Mutex) Lock() { /* Lock implementation */ }
func (m *Mutex) Unlock() { /* Unlock implementation */ } func (m *Mutex) Unlock() { /* Unlock implementation */ }