From cdf3db5df6bdb68f696fb15cc657207efcf778ef Mon Sep 17 00:00:00 2001 From: Johan Jansson Date: Wed, 4 Dec 2019 22:39:44 +0200 Subject: [PATCH] runtime: remove comment about gcCopySpans() Remove documentation reference to gcCopySpans(), as that function was removed in https://golang.org/cl/30537 Fixes #35683 Change-Id: I7fb7c6cc60bfb3a133a019a20eb3f9d4c7627b31 Reviewed-on: https://go-review.googlesource.com/c/go/+/209917 Reviewed-by: Austin Clements --- src/runtime/mgcmark.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/runtime/mgcmark.go b/src/runtime/mgcmark.go index e02c874f66..54f988a902 100644 --- a/src/runtime/mgcmark.go +++ b/src/runtime/mgcmark.go @@ -46,8 +46,6 @@ const ( // gcMarkRootPrepare queues root scanning jobs (stacks, globals, and // some miscellany) and initializes scanning-related state. // -// The caller must have call gcCopySpans(). -// // The world must be stopped. // //go:nowritebarrier -- 2.50.0