]> Cypherpunks repositories - gostls13.git/commitdiff
move comment on StringHeader to fix godoc output.
authorRob Pike <r@golang.org>
Fri, 29 Jan 2010 01:43:46 +0000 (12:43 +1100)
committerRob Pike <r@golang.org>
Fri, 29 Jan 2010 01:43:46 +0000 (12:43 +1100)
R=rsc, ken2
CC=golang-dev
https://golang.org/cl/196055

src/pkg/reflect/value.go

index 881d44fb2a03a81acd809b71f5ca4d42e67a500c..60f2c0a2c3e21fa8700f0977cbbf7ad48ddf4dbb 100644 (file)
@@ -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
 }