Improved code quality

This commit is contained in:
2023-09-01 12:43:36 +02:00
parent 48545fdf01
commit e5b0eb443a
10 changed files with 131 additions and 120 deletions

View File

@ -289,7 +289,7 @@ func (node *treeNode[T]) PrettyPrint(writer io.Writer) {
node.prettyPrint(writer, -1)
}
// prettyPrint
// prettyPrint is the underlying pretty printer.
func (node *treeNode[T]) prettyPrint(writer io.Writer, level int) {
prefix := ""