Skip to content

Commit 62da878

Browse files
committed
chore: document ExtractIntRows function
1 parent de98ef4 commit 62da878

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/inputs/inputs.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ func ExtractIntPairs(input string) ([]int, []int, error) {
4646
return left, right, nil
4747
}
4848

49+
// ExtractIntRows takes multiple lines of whitespace separated numbers and
50+
// parses it into a 2d int slice
4951
func ExtractIntRows(input string) ([][]int, error) {
5052
var result [][]int
5153

0 commit comments

Comments
 (0)