Skip to content

Commit b779edb

Browse files
authored
Merge pull request #50 from imxyb/remove-int
remote unless int func
2 parents d9f8808 + 5fe99ab commit b779edb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func New(config *Configuration) *Cache {
4242
buckets: make([]*bucket, config.buckets),
4343
control: make(chan interface{}),
4444
}
45-
for i := 0; i < int(config.buckets); i++ {
45+
for i := 0; i < config.buckets; i++ {
4646
c.buckets[i] = &bucket{
4747
lookup: make(map[string]*Item),
4848
}

0 commit comments

Comments
 (0)