From 5e6a831280fe8f20fa1dc3ed1156feba4d8f9df1 Mon Sep 17 00:00:00 2001 From: x5a17ed <0x5a17ed@tuta.io> Date: Tue, 28 May 2024 18:36:07 +0200 Subject: [PATCH] empty: update documentation --- itlib/empty.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itlib/empty.go b/itlib/empty.go index fd4dcda..463a890 100644 --- a/itlib/empty.go +++ b/itlib/empty.go @@ -34,7 +34,7 @@ func (it EmptyIterator[T]) Value() (v T) { return } -// Empty returns an Iterator that is always exhausted. +// Empty returns a new [EmptyIterator] value. func Empty[T any]() itkit.Iterator[T] { return &EmptyIterator[T]{} }