From: Alberto Donizetti Date: Sun, 12 May 2024 13:37:41 +0000 (+0200) Subject: slices: fix punctuation in the documentation of Values X-Git-Tag: go1.23rc1~367 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=cc1479653db6f4fc9504773a74c139008e1a37f7;p=gostls13.git slices: fix punctuation in the documentation of Values Change-Id: Idea4f92d511b5f18531758667cb0cb5ed6f91a0a Reviewed-on: https://go-review.googlesource.com/c/go/+/584359 Reviewed-by: Ian Lance Taylor LUCI-TryBot-Result: Go LUCI Auto-Submit: Ian Lance Taylor Reviewed-by: Dmitri Shuralyov --- diff --git a/src/slices/iter.go b/src/slices/iter.go index a0f642e423..131cece3a0 100644 --- a/src/slices/iter.go +++ b/src/slices/iter.go @@ -33,7 +33,7 @@ func Backward[Slice ~[]E, E any](s Slice) iter.Seq2[int, E] { } } -// Values returns an iterator over the slice elements. +// Values returns an iterator over the slice elements, // starting with s[0]. func Values[Slice ~[]E, E any](s Slice) iter.Seq[E] { return func(yield func(E) bool) {