]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix comment
authorBrad Fitzpatrick <bradfitz@golang.org>
Mon, 8 Feb 2016 21:10:18 +0000 (21:10 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 8 Feb 2016 22:12:42 +0000 (22:12 +0000)
Fixes #14259

Change-Id: I23fedec0eb85ae28e56bc24539bc864674856130
Reviewed-on: https://go-review.googlesource.com/19318
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/time.go

index ffe75905263165f898030a2b8a4a7e077577dded..3f8f6968c2ab2c17f46ce5aecf3122b5b20c714d 100644 (file)
@@ -16,7 +16,7 @@ type timer struct {
        i int // heap index
 
        // Timer wakes up at when, and then at when+period, ... (period > 0 only)
-       // each time calling f(now, arg) in the timer goroutine, so f must be
+       // each time calling f(arg, now) in the timer goroutine, so f must be
        // a well-behaved function and not block.
        when   int64
        period int64