From 16ddb6c538e9d1343d856567bcde802454fa4c47 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Fri, 29 Jan 2010 12:43:46 +1100 Subject: [PATCH] move comment on StringHeader to fix godoc output. R=rsc, ken2 CC=golang-dev https://golang.org/cl/196055 --- src/pkg/reflect/value.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pkg/reflect/value.go b/src/pkg/reflect/value.go index 881d44fb2a0..60f2c0a2c3e 100644 --- a/src/pkg/reflect/value.go +++ b/src/pkg/reflect/value.go @@ -281,12 +281,13 @@ func (v *Int64Value) Set(x int64) { // Set sets v to the value x. func (v *Int64Value) SetValue(x Value) { v.Set(x.(*Int64Value).Get()) } -// StringValue represents a string value. -// runtime representation of slice +// StringHeader is the runtime representation of a string. type StringHeader struct { Data uintptr Len int } + +// StringValue represents a string value. type StringValue struct { value }