From 704489ed6d4e70da92bd5b87ddeef3d0a4f2563e Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Wed, 21 May 2025 23:16:57 +0200 Subject: [PATCH] runtime: update comment I forgot to change the comment in PR #4890. --- src/runtime/scheduler_cooperative.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/scheduler_cooperative.go b/src/runtime/scheduler_cooperative.go index d919aa969..5f569c6e1 100644 --- a/src/runtime/scheduler_cooperative.go +++ b/src/runtime/scheduler_cooperative.go @@ -116,7 +116,7 @@ func addTimer(tim *timerNode) { } // removeTimer is the implementation of time.stopTimer. It removes a timer from -// 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. func removeTimer(tim *timer) *timerNode { mask := interrupt.Disable() n := timerQueueRemove(tim)