From e986848a7a4afb1cecbc6d077dc7439b7780cab1 Mon Sep 17 00:00:00 2001 From: Gani Georgiev Date: Fri, 8 Jul 2022 10:30:23 +0300 Subject: [PATCH] fixed typo in comment --- tools/store/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/store/store.go b/tools/store/store.go index 22966fed..b24d9101 100644 --- a/tools/store/store.go +++ b/tools/store/store.go @@ -57,7 +57,7 @@ func (s *Store[T]) Set(key string, value T) { // SetIfLessThanLimit sets (or overwrite if already exist) a new value for key. // -// This is method is similar to Set() but **it will skip adding new elements** +// This method is similar to Set() but **it will skip adding new elements** // to the store if the store length has reached the specified limit. // `false` is returned if maxAllowedElements limit is reached. func (s *Store[T]) SetIfLessThanLimit(key string, value T, maxAllowedElements int) bool {