Skip to content

Commit

Permalink
Window: fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
0x5a17ed committed May 27, 2024
1 parent 0d450b6 commit 232db95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion itlib/window.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ type windowSubIterator[T any] struct{ parent *WindowIterator[T] }
func (it windowSubIterator[T]) Next() bool { return it.parent.windowNext() }
func (it windowSubIterator[T]) Value() T { return it.parent.windowValue() }

// WindowIterator
// WindowIterator is an iterator providing a sliding window over the
// given source iterator as a sub-iterator.
type WindowIterator[T any] struct {
// Size specifies the window size.
Size uint
Expand Down

0 comments on commit 232db95

Please sign in to comment.