From c7e03a32b32ba981dca5460d905be8da8972a0e2 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Mon, 24 May 2010 21:25:01 -0700 Subject: [PATCH] go spec: minor fix, to match conversion rules 4 and 5 R=rsc CC=golang-dev https://golang.org/cl/1270042 --- doc/go_spec.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/go_spec.html b/doc/go_spec.html index 8c958b159d..d56efcc2bc 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -3278,7 +3278,8 @@ of x and thus has no run-time cost.

-Specific rules apply to conversions where T is a numeric or string type. +Specific rules apply to conversions where T is a +numeric or string type, or where x is of string type. These conversions may change the representation of a value and incur a run-time cost.