From a0b5b46ae47d2df1f8ed3d640b220c67e7ccc0d9 Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Tue, 22 Jan 2013 03:18:20 +0800 Subject: [PATCH] doc/go_spec: cap doesn't apply to maps Fixes #4682. R=golang-dev, adg, dave CC=golang-dev https://golang.org/cl/7094062 --- doc/go_spec.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/go_spec.html b/doc/go_spec.html index 239e69c987c..c93bb6c65d4 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.