From a90b55f63ba2df8a7ce8d668920f93cb53a54d65 Mon Sep 17 00:00:00 2001 From: Youngtaek Yoon Date: Mon, 22 Jan 2024 23:21:09 +0900 Subject: [PATCH] docs(collections): fix godoc on collections Sequence.Next() (#19154) --- collections/sequence.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collections/sequence.go b/collections/sequence.go index 2290d27a5d..5503baf332 100644 --- a/collections/sequence.go +++ b/collections/sequence.go @@ -32,7 +32,7 @@ func (s Sequence) Peek(ctx context.Context) (uint64, error) { } } -// Next returns the next sequence number, and sets the next expected sequence. +// Next returns the current sequence number, and sets the next expected sequence. // Errors on encoding issues. func (s Sequence) Next(ctx context.Context) (uint64, error) { seq, err := s.Peek(ctx)