aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/unsafe/unsafe.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unsafe/unsafe.go b/src/unsafe/unsafe.go
index 8d6cacb8b5..645ddf2c8a 100644
--- a/src/unsafe/unsafe.go
+++ b/src/unsafe/unsafe.go
@@ -260,7 +260,7 @@ func SliceData(slice []ArbitraryType) *ArbitraryType
// a run-time panic occurs.
//
// Since Go strings are immutable, the bytes passed to String
-// must not be modified afterwards.
+// must not be modified as long as the returned string value exists.
func String(ptr *byte, len IntegerType) string
// StringData returns a pointer to the underlying bytes of str.