Skip to content

Commit

Permalink
docs: improved comment
Browse files Browse the repository at this point in the history
  • Loading branch information
andeya committed Aug 30, 2022
1 parent ed37846 commit bff47d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion iter/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ type (
iTryRfold[T]
iRfold[T]
iRfind[T]
// DeFuse creates an iterator which ends after the first [`gust.None[T]()`].
// DeFuse creates a double ended iterator which ends after the first [`gust.None[T]()`].
//
// After an iterator returns [`gust.None[T]()`], future calls may or may not yield
// [`gust.Some(T)`] again. `Fuse()` adapts an iterator, ensuring that after a
Expand Down
1 change: 1 addition & 0 deletions iter/iter_fuse.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ func newFuseDeIterator[T any](iter DeIterator[T]) *FuseDeIterator[T] {
return p
}

// FuseDeIterator double ended fuse iterator
type FuseDeIterator[T any] struct {
sizeDeIterTrait[T]
iter DeIterator[T]
Expand Down

0 comments on commit bff47d9

Please sign in to comment.