From 60908a3375ab1ff7f01a5cfd91180d09dedeaa77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82?= Date: Sat, 8 Jul 2023 22:36:49 -0700 Subject: [PATCH] Fix stale comment on the mutex based rate-limiter (#115) Fixes #105 --- limiter_mutexbased.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/limiter_mutexbased.go b/limiter_mutexbased.go index 62c5a73..7bd18f7 100644 --- a/limiter_mutexbased.go +++ b/limiter_mutexbased.go @@ -34,7 +34,7 @@ type mutexLimiter struct { clock Clock } -// newMutexBased returns a new atomic based limiter. +// newMutexBased returns a new mutex based limiter. func newMutexBased(rate int, opts ...Option) *mutexLimiter { // TODO consider moving config building to the implementation // independent code.