Commit 001fe7f3 authored by Ian Lance Taylor's avatar Ian Lance Taylor

time: further clarifications to the (*Timer).Stop docs

Fixes #35627

Change-Id: I0c5fed46a69a9663e46a9414468ec610063ea05a
Reviewed-on: https://go-review.googlesource.com/c/go/+/207849Reviewed-by: default avatarRob Pike <r@golang.org>
parent f7f9866f
......@@ -64,7 +64,7 @@ type Timer struct {
// }
//
// This cannot be done concurrent to other receives from the Timer's
// channel.
// channel or other calls to the Timer's Stop method.
//
// For a timer created with AfterFunc(d, f), if t.Stop returns false, then the timer
// has already expired and the function f has been started in its own goroutine;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment