Skip to content

Commit 1ce61fe

Browse files
cuishuanggopherbot
authored andcommitted
rate: make function comment match function name
Change-Id: I603ca855eac736e90d2ba2bb7ce61981a4a91918 Reviewed-on: https://go-review.googlesource.com/c/time/+/638776 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
1 parent 3846194 commit 1ce61fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rate/rate_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ func (tt *testTime) advance(dur time.Duration) {
192192
tt.advanceUnlocked(dur)
193193
}
194194

195-
// advanceUnlock advances the fake time, assuming it is already locked.
195+
// advanceUnlocked advances the fake time, assuming it is already locked.
196196
func (tt *testTime) advanceUnlocked(dur time.Duration) {
197197
tt.cur = tt.cur.Add(dur)
198198
i := 0

0 commit comments

Comments
 (0)