mirror of
https://github.com/duke-git/lancet.git
synced 2025-10-05 07:26:51 +08:00
fix: fix some spell mistake
This commit is contained in:
@@ -92,8 +92,8 @@ func (q *LinkedQueue[T]) Clear() {
|
||||
}
|
||||
|
||||
// Print all nodes info of queue link
|
||||
func (s *LinkedQueue[T]) Print() {
|
||||
current := s.head
|
||||
func (q *LinkedQueue[T]) Print() {
|
||||
current := q.head
|
||||
info := "[ "
|
||||
for current != nil {
|
||||
info += fmt.Sprintf("%+v, ", current)
|
||||
|
Reference in New Issue
Block a user