Skip to content

Commit 704489e

Browse files
eliasnaurdeadprogram
authored andcommitted
runtime: update comment
I forgot to change the comment in PR #4890.
1 parent 9ca6f72 commit 704489e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/scheduler_cooperative.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ func addTimer(tim *timerNode) {
116116
}
117117

118118
// removeTimer is the implementation of time.stopTimer. It removes a timer from
119-
// the timer queue, returning true if the timer is present in the timer queue.
119+
// the timer queue, returning it if the timer is present in the timer queue.
120120
func removeTimer(tim *timer) *timerNode {
121121
mask := interrupt.Disable()
122122
n := timerQueueRemove(tim)

0 commit comments

Comments
 (0)