1
0
mirror of https://github.com/golang/go synced 2024-11-11 23:40:22 -07:00

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 <austin@google.com>
This commit is contained in:
Johan Jansson 2019-12-04 22:39:44 +02:00 committed by Austin Clements
parent 7bdef2dfa4
commit cdf3db5df6

View File

@ -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