aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/runtime/extern.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/extern.go b/src/runtime/extern.go
index 6e6c674d96..66b9527802 100644
--- a/src/runtime/extern.go
+++ b/src/runtime/extern.go
@@ -212,8 +212,8 @@ func Callers(skip int, pc []uintptr) int {
return callers(skip, pc)
}
-// GOROOT returns the root of the Go tree.
-// It uses the GOROOT environment variable, if set,
+// GOROOT returns the root of the Go tree. It uses the
+// GOROOT environment variable, if set at process start,
// or else the root used during the Go build.
func GOROOT() string {
s := gogetenv("GOROOT")