Update ch2-06-2.md:pc初始化函数缺少return

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
}()
pull/1/head
sunclx 2016-01-31 14:10:17 +08:00
parent 63e77568ad
commit 5b4d690a48
1 changed files with 1 additions and 0 deletions

View File

@ -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
}()
```