Skip to content

Commit

Permalink
resources/page: Fix GoDoc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
George Ma authored Mar 22, 2024
1 parent c837f36 commit 27414d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/page/pages_sort_search.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func searchPageBinary(p Page, pages Pages, less func(p1, p2 Page) bool) int {
return searchPageLinear(p, pages, i)
}

// isProbablySorted tests if the pages slice is probably sorted.
// isPagesProbablySorted tests if the pages slice is probably sorted.
func isPagesProbablySorted(pages Pages, lessFuncs ...func(p1, p2 Page) bool) func(p1, p2 Page) bool {
n := len(pages)
step := 1
Expand Down

0 comments on commit 27414d4

Please sign in to comment.