From 8e9a758626892a636b324a68f5689e8e108371e2 Mon Sep 17 00:00:00 2001 From: x5a17ed <0x5a17ed@tuta.io> Date: Sat, 25 May 2024 14:56:38 +0200 Subject: [PATCH] peek: fix documentation --- itlib/peek.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itlib/peek.go b/itlib/peek.go index f40539c..55077c0 100644 --- a/itlib/peek.go +++ b/itlib/peek.go @@ -62,7 +62,7 @@ func (it *PeekIterator[T]) Peek() (v T, ok bool) { return it.cached, it.has } -// Iter returns the [TeeIterator] as an [itkit.Iterator] value. +// Iter returns the [PeekIterator] as an [itkit.Iterator] value. func (it *PeekIterator[T]) Iter() itkit.Iterator[T] { return it }