Skip to content

Commit

Permalink
doc: use any instead of interface{} (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyahui committed Jun 6, 2023
1 parent 8d9a62d commit 478067b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -15,7 +15,7 @@ Example
Using the LRU is very simple:

```go
l, _ := New[int, interface{}](128)
l, _ := New[int, any](128)
for i := 0; i < 256; i++ {
l.Add(i, nil)
}
Expand Down

0 comments on commit 478067b

Please sign in to comment.