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 9ca6f72 commit 704489eCopy full SHA for 704489e
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