From 27414d43a07026fe94f0e3c5ca3e69a4b1c8f2e4 Mon Sep 17 00:00:00 2001 From: George Ma <164313692+availhang@users.noreply.github.com> Date: Fri, 22 Mar 2024 15:56:10 +0800 Subject: [PATCH] resources/page: Fix GoDoc comment --- resources/page/pages_sort_search.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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