diff --git a/src/runtime/proc.go b/src/runtime/proc.go index 9908951544a..1267899b836 100644 --- a/src/runtime/proc.go +++ b/src/runtime/proc.go @@ -4777,7 +4777,7 @@ func runqempty(_p_ *p) bool { const randomizeScheduler = raceenabled // runqput tries to put g on the local runnable queue. -// If next if false, runqput adds g to the tail of the runnable queue. +// If next is false, runqput adds g to the tail of the runnable queue. // If next is true, runqput puts g in the _p_.runnext slot. // If the run queue is full, runnext puts g on the global queue. // Executed only by the owner P.