Skip to content

Commit

Permalink
Update interface.go
Browse files Browse the repository at this point in the history
  • Loading branch information
andeya committed Sep 6, 2022
1 parent 0d80db5 commit b8be2d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iter/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,9 @@ type Iterator[T any] interface {
// Like most indexing operations, the iCount starts from zero, so `Nth(0)`
// returns the first value, `Nth(1)` the second, and so on.
//
// Note that iAll preceding elements, as well as the returned element, will be
// Note that `All()` preceding elements, as well as the returned element, will be
// consumed from the data. That means that the preceding elements will be
// discarded, and also that calling `iNth(0)` multiple times on the same data
// discarded, and also that calling `Nth(0)` multiple times on the same data
// will return different elements.
//
// `Nth()` will return [`gust.None[T]()`] if `n` is greater than or equal to the length of the
Expand Down

0 comments on commit b8be2d3

Please sign in to comment.