From: Brad Fitzpatrick Date: Mon, 8 Feb 2016 21:10:18 +0000 (+0000) Subject: runtime: fix comment X-Git-Tag: go1.6~1^2~27 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=77b4c8d9af0bfad762db7bb9bbc1793c5a233acd;p=gostls13.git runtime: fix comment Fixes #14259 Change-Id: I23fedec0eb85ae28e56bc24539bc864674856130 Reviewed-on: https://go-review.googlesource.com/19318 Reviewed-by: Ian Lance Taylor --- diff --git a/src/runtime/time.go b/src/runtime/time.go index ffe7590526..3f8f6968c2 100644 --- a/src/runtime/time.go +++ b/src/runtime/time.go @@ -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