docs(collections): fix godoc on collections Sequence.Next() (#19154)
This commit is contained in:
parent
7711baa49f
commit
a90b55f63b
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user