From e4649847e015e573ee169c7d6db29b9437841afd Mon Sep 17 00:00:00 2001 From: Caleb Martinez Date: Wed, 11 Jul 2018 09:39:28 -0400 Subject: [PATCH] update Timer.Stop documentation --- src/time/tick.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/time/tick.go b/src/time/tick.go index f32bf58f61..e4cd43aa82 100644 --- a/src/time/tick.go +++ b/src/time/tick.go @@ -40,8 +40,8 @@ func NewTicker(d Duration) *Ticker { } // Stop turns off a ticker. After Stop, no more ticks will be sent. -// Stop does not close the channel. This prevents a concurrent goroutine -// (reading from said channel) from seeing a read succeed incorrectly. +// Stop does not close the channel, to prevent a concurrent goroutine +// reading from the channel from seeing an erroneous "tick". func (t *Ticker) Stop() { stopTimer(&t.r) }