From: Shenghou Ma Date: Mon, 21 Jan 2013 19:18:20 +0000 (+0800) Subject: doc/go_spec: cap doesn't apply to maps X-Git-Tag: go1.1rc2~1330 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a0b5b46ae47d2df1f8ed3d640b220c67e7ccc0d9;p=gostls13.git doc/go_spec: cap doesn't apply to maps Fixes #4682. R=golang-dev, adg, dave CC=golang-dev https://golang.org/cl/7094062 --- diff --git a/doc/go_spec.html b/doc/go_spec.html index 239e69c987..c93bb6c65d 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -4922,7 +4922,8 @@ At any time the following relationship holds:

-The length and capacity of a nil slice, map, or channel are 0. +The length of a nil slice, map or channel is 0. +The capacity of a nil slice and channel is 0.