aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--design/43651-type-parameters.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/design/43651-type-parameters.md b/design/43651-type-parameters.md
index ac9219b..ef99dbd 100644
--- a/design/43651-type-parameters.md
+++ b/design/43651-type-parameters.md
@@ -3784,7 +3784,7 @@ type Iterator[T any] struct {
// Range returns an Iterator starting at the head of the list.
func (lst *List[T]) Range() *Iterator[T] {
- return Iterator[T]{next: &lst.head}
+ return &Iterator[T]{next: &lst.head}
}
// Next advances the iterator.