Display prints out the elements of the list.
()
| 173 | |
| 174 | // Display prints out the elements of the list. |
| 175 | func (ll *Singly[T]) Display() { |
| 176 | for cur := ll.Head; cur != nil; cur = cur.Next { |
| 177 | fmt.Print(cur.Val, " ") |
| 178 | } |
| 179 | |
| 180 | fmt.Print("\n") |
| 181 | } |
nothing calls this directly
no outgoing calls
no test coverage detected