Skip to content

Commit cb4d387

Browse files
authored
Merge pull request #15 from nkcmr/patch-1
Fix syntax error in README
2 parents f7647b4 + c0add1d commit cb4d387

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ e.g.
122122

123123
```go
124124
var s Foo
125-
for _, p := []int{10, 11, 12, 13} {
125+
for _, p := range []int{10, 11, 12, 13} {
126126
s.Bar(&p) // If s stores the pointer, it will be bug.
127127
}
128128
```

0 commit comments

Comments
 (0)