aboutsummaryrefslogtreecommitdiff
path: root/test/typeparam/listimp2.dir/a.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/typeparam/listimp2.dir/a.go')
-rw-r--r--test/typeparam/listimp2.dir/a.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/typeparam/listimp2.dir/a.go b/test/typeparam/listimp2.dir/a.go
index 76ad669767..3a7dfc3999 100644
--- a/test/typeparam/listimp2.dir/a.go
+++ b/test/typeparam/listimp2.dir/a.go
@@ -44,7 +44,7 @@ func (e *Element[T]) Prev() *Element[T] {
// The zero value for List is an empty list ready to use.
type List[T any] struct {
root Element[T] // sentinel list element, only &root, root.prev, and root.next are used
- len int // current list length excluding (this) sentinel element
+ len int // current list length excluding (this) sentinel element
}
// Init initializes or clears list l.