Skip to content

Commit 3c0f315

Browse files
authored
Merge pull request #6 from vcjmhg/master
Update c02_03.md
2 parents 85f1f76 + 260bef4 commit 3c0f315

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/c02/c02_03.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ make:只能为 slice,map,chan 分配内存,并初始化,返回的是
8787

8888
```go
8989
a := new(int)
90-
a = 1
90+
*a = 1
9191
// 等价于
9292
a := 1
9393
```
@@ -98,4 +98,4 @@ a := 1
9898

9999
---
100100

101-
![](http://image.python-online.cn/image-20200320125724880.png)
101+
![](http://image.python-online.cn/image-20200320125724880.png)

0 commit comments

Comments
 (0)