Update 16.5.md (#451)

This commit is contained in:
Neal Caffery
2018-04-17 07:31:36 +08:00
committed by 无闻
parent 5fb10101ad
commit 13c68ebda8

View File

@@ -4,11 +4,11 @@
因此应该这样做:
`func findBiggest( listOfNumbers []int ) int {}`
func findBiggest( listOfNumbers []int ) int {}
而不是:
`func findBiggest( listOfNumbers *[]int ) int {}`
func findBiggest( listOfNumbers *[]int ) int {}
**当切片作为参数传递时,切记不要解引用切片。**