Skip to content

Commit c47d69c

Browse files
leighmccullochjosharian
authored andcommitted
Correct func name in TextHorizontal comment
What === Change the func name in the comment on `TextHorizontal` from `TextVertical` to `TextHorizontal`. Why === The first word in a func comment should be the name of the func, in this case `TextHorizontal`.
1 parent 48d0402 commit c47d69c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

page.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ func (x TextVertical) Less(i, j int) bool {
629629
return x[i].X < x[j].X
630630
}
631631

632-
// TextVertical implements sort.Interface for sorting
632+
// TextHorizontal implements sort.Interface for sorting
633633
// a slice of Text values in horizontal order, left to right,
634634
// and then top to bottom within a column.
635635
type TextHorizontal []Text

0 commit comments

Comments
 (0)