From c1b2080f4e61db91ef4914ce45749fa133fab29f Mon Sep 17 00:00:00 2001 From: gammazero Date: Thu, 10 Feb 2022 11:25:30 -0800 Subject: [PATCH] spelling in comment --- chain/sub/ratelimit/window.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain/sub/ratelimit/window.go b/chain/sub/ratelimit/window.go index f0429d3d3..0756e8998 100644 --- a/chain/sub/ratelimit/window.go +++ b/chain/sub/ratelimit/window.go @@ -11,7 +11,7 @@ type Window struct { } // NewWindow creates a new Window that limits the number of events to maximum -// count of events withing a duration of time. The capacity sets the maximum +// count of events within a duration of time. The capacity sets the maximum // number of events, and size sets the span of time over which the events are // counted. func NewWindow(capacity int, size time.Duration) *Window {