]> Cypherpunks repositories - gostls13.git/commitdiff
time: fix comment typo
authorAndrew Gerrand <adg@golang.org>
Sun, 11 Apr 2010 13:33:25 +0000 (23:33 +1000)
committerAndrew Gerrand <adg@golang.org>
Sun, 11 Apr 2010 13:33:25 +0000 (23:33 +1000)
R=r
CC=golang-dev
https://golang.org/cl/811044

src/pkg/time/tick.go

index 885a290bcfaf9afdd5a4b372368b8e9f4d524da0..05023d4d00b82247ecd471a8c5c6d9418685cad2 100644 (file)
@@ -156,7 +156,7 @@ func tickerLoop() {
        }
 }
 
-// Ticker returns a new Ticker containing a channel that will
+// NewTicker returns a new Ticker containing a channel that will
 // send the time, in nanoseconds, every ns nanoseconds.  It adjusts the
 // intervals to make up for pauses in delivery of the ticks.
 func NewTicker(ns int64) *Ticker {