Skip to content

Commit

Permalink
rate: make function comment match function name
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
cuishuang authored and gopherbot committed Jan 3, 2025
1 parent 3846194 commit 1ce61fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rate/rate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func (tt *testTime) advance(dur time.Duration) {
tt.advanceUnlocked(dur)
}

// advanceUnlock advances the fake time, assuming it is already locked.
// advanceUnlocked advances the fake time, assuming it is already locked.
func (tt *testTime) advanceUnlocked(dur time.Duration) {
tt.cur = tt.cur.Add(dur)
i := 0
Expand Down

0 comments on commit 1ce61fe

Please sign in to comment.