mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-23 13:52:26 +08:00
update comment for StackLink
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
)
|
)
|
||||||
|
|
||||||
// StackLink is a linear table, implemented with slice
|
// StackArray implements stack with link list
|
||||||
type StackLink[T any] struct {
|
type StackLink[T any] struct {
|
||||||
top *StackNode[T]
|
top *StackNode[T]
|
||||||
length int
|
length int
|
||||||
|
|||||||
Reference in New Issue
Block a user