Improved code quality

This commit is contained in:
Eduard Urbach 2023-09-01 12:43:36 +02:00
parent 4c4775c071
commit ad033d4315
Signed by: eduard
GPG key ID: 49226B848C78F6C8
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 := ""