Skip to content

Commit

Permalink
Update 08_Data.md
Browse files Browse the repository at this point in the history
  • Loading branch information
liukgg committed Apr 26, 2018
1 parent b5b6ad3 commit 0a2f863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 08_Data.md
Expand Up @@ -136,7 +136,7 @@ v := make([]int, 100)
```
Remember that make applies only to maps, slices and channels and does not return a pointer. To obtain an explicit pointer allocate with new or take the address of a variable explicitly.

请记住,make 只适用于映射、切片和信道且不返回指针。若要获得明确的指针, 请使用 new 分配内存
请记住,make 只适用于映射、切片和信道且不返回指针。若要获得明确的指针, 请使用 new 分配内存或显式地获取一个变量的地址

### Arrays

Expand Down

0 comments on commit 0a2f863

Please sign in to comment.