diff options
| author | Russ Cox <rsc@golang.org> | 2022-01-30 20:11:47 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2022-04-01 18:18:07 +0000 |
| commit | 690ac4071fa3e07113bf371c9e74394ab54d6749 (patch) | |
| tree | 668fba312c6e891b11dce2c3db163312d3ed8fde /src/sync | |
| parent | 89dff118ada91061350aa149b54a2ab4fdbd6810 (diff) | |
| download | go-690ac4071fa3e07113bf371c9e74394ab54d6749.tar.xz | |
all: remove trailing blank doc comment lines
A future change to gofmt will rewrite
// Doc comment.
//
func f()
to
// Doc comment.
func f()
Apply that change preemptively to all doc comments.
For #51082.
Change-Id: I4023e16cfb0729b64a8590f071cd92f17343081d
Reviewed-on: https://go-review.googlesource.com/c/go/+/384259
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/sync')
| -rw-r--r-- | src/sync/cond.go | 1 | ||||
| -rw-r--r-- | src/sync/once.go | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/sync/cond.go b/src/sync/cond.go index b254c9360a..d86ebc8b50 100644 --- a/src/sync/cond.go +++ b/src/sync/cond.go @@ -48,7 +48,6 @@ func NewCond(l Locker) *Cond { // } // ... make use of condition ... // c.L.Unlock() -// func (c *Cond) Wait() { c.checker.check() t := runtime_notifyListAdd(&c.notify) diff --git a/src/sync/once.go b/src/sync/once.go index 8844314e7e..e5ba257d87 100644 --- a/src/sync/once.go +++ b/src/sync/once.go @@ -38,7 +38,6 @@ type Once struct { // // If f panics, Do considers it to have returned; future calls of Do return // without calling f. -// func (o *Once) Do(f func()) { // Note: Here is an incorrect implementation of Do: // |
