From 5b4d690a4846314499e6b117d2440aa6ea3fe1dc Mon Sep 17 00:00:00 2001 From: sunclx Date: Sun, 31 Jan 2016 14:10:17 +0800 Subject: [PATCH] =?UTF-8?q?Update=20ch2-06-2.md:pc=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96=E5=87=BD=E6=95=B0=E7=BC=BA=E5=B0=91return?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update ch2-06-2.md var pc [256]byte = func() (pc [256]byte) { for i := range pc { pc[i] = pc[i/2] + byte(i&1) } return }() --- ch2/ch2-06-2.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ch2/ch2-06-2.md b/ch2/ch2-06-2.md index e1dc4f8..84689d7 100644 --- a/ch2/ch2-06-2.md +++ b/ch2/ch2-06-2.md @@ -58,6 +58,7 @@ var pc [256]byte = func() (pc [256]byte) { for i := range pc { pc[i] = pc[i/2] + byte(i&1) } + return }() ```