From 8d0ff283040af1b282b3148513b46fb8215415a1 Mon Sep 17 00:00:00 2001 From: dudaodong Date: Fri, 4 Feb 2022 22:45:01 +0800 Subject: [PATCH] update comment for StackLink --- datastructure/stacklink.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datastructure/stacklink.go b/datastructure/stacklink.go index 221c83b..1ef0128 100644 --- a/datastructure/stacklink.go +++ b/datastructure/stacklink.go @@ -5,7 +5,7 @@ import ( "fmt" ) -// StackLink is a linear table, implemented with slice +// StackArray implements stack with link list type StackLink[T any] struct { top *StackNode[T] length int