From 9821836b6c617cc2329c44892e33c08de9646a32 Mon Sep 17 00:00:00 2001 From: David Ashby Date: Sat, 19 Dec 2020 09:45:31 -0500 Subject: [PATCH] clarify comments --- 18/main.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/18/main.go b/18/main.go index e5e9054..fa57d50 100644 --- a/18/main.go +++ b/18/main.go @@ -109,9 +109,7 @@ func printExpression(e expression) string { return strings.TrimSpace(result) } -// evaluation starts at the root, checks the list of operators, -// then descends into the expressions as precedence demands apply operators to expressions. - +// evaluation starts at the root then descends into the sub-expressions. func evalLeftToRight(e expression) int { var result int if e.number != 0 {