Skip to content

Commit

Permalink
docs(collections): fix godoc on collections Sequence.Next() (#19154)
Browse files Browse the repository at this point in the history
  • Loading branch information
0Tech authored Jan 22, 2024
1 parent 7711baa commit a90b55f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collections/sequence.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a90b55f

Please sign in to comment.