Skip to content

Commit

Permalink
remove unused "continue" statement
Browse files Browse the repository at this point in the history
  • Loading branch information
paskal committed Jan 6, 2023
1 parent ab4d622 commit d1a52e0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion simplelru/expirable_lru.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ func (c *ExpirableLRU[K, V]) deleteExpired() {
for _, key := range c.keys() {
if time.Now().After(c.items[key].expiresAt) {
c.removeElement(c.items[key])
continue
}
}
}
Expand Down

0 comments on commit d1a52e0

Please sign in to comment.