We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f66ec4c commit 8e7fc3cCopy full SHA for 8e7fc3c
src/runtime/scheduler_cooperative.go
@@ -116,7 +116,7 @@ func addTimer(tim *timerNode) {
116
}
117
118
// 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.
+// the timer queue, returning it if the timer is present in the timer queue.
120
func removeTimer(tim *timer) *timerNode {
121
mask := interrupt.Disable()
122
n := timerQueueRemove(tim)
0 commit comments