diff options
Diffstat (limited to 'resources')
-rw-r--r-- | resources/page/pages_sort_search.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/page/pages_sort_search.go b/resources/page/pages_sort_search.go index b400f61e8..af10117cc 100644 --- a/resources/page/pages_sort_search.go +++ b/resources/page/pages_sort_search.go @@ -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 |