refactor: use existing bar for row loop
This commit is contained in:
1 parent
c41ba29791
commit
e89b766c4f
1 file changed
+1
-1
+1
-1
@@ -47,7 +47,7 @@ func SolvePartTwo(filePath string) int {
|
||||
for operatorIndex := operatorRowLength - 1; operatorIndex >= 0; operatorIndex-- {
|
||||
var operandBuilder strings.Builder
|
||||
|
||||
for row := range numOfRows - 1 {
|
||||
for row := range operatorRowIndex {
|
||||
v := string(input[row][operatorIndex])
|
||||
operandBuilder.WriteString(v)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user