Skip to content

Commit

Permalink
Correct code example (quii#772)
Browse files Browse the repository at this point in the history
  • Loading branch information
pesterhazy authored Jun 21, 2024
1 parent 0a8d9f2 commit 65a387f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generics.md
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ Not many people complain about our ability to define interfaces which, like gene
When you consider that if you've used arrays, slices or maps; you've _already been a consumer of generic code_.
```
var myApples []Apples
var myApples []Apple
// You can't do this!
append(myApples, Orange{})
```
Expand Down

0 comments on commit 65a387f

Please sign in to comment.