summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pkg/reflect/value.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pkg/reflect/value.go b/src/pkg/reflect/value.go
index 881d44fb2..60f2c0a2c 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
}