Fixed a syntax error

jbenren 2020-02-13 17:37:53 -08:00
parent 3527787b13
commit 1d90207ce2

@ -460,7 +460,7 @@ a variable, it will be allocated on the heap if necessary. So these
functions are equivalent: functions are equivalent:
```go ```go
type S { I int } type S struct{ I int }
func f1() *S { func f1() *S {
return new(S) return new(S)