We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c837f36 commit 27414d4Copy full SHA for 27414d4
resources/page/pages_sort_search.go
@@ -71,7 +71,7 @@ func searchPageBinary(p Page, pages Pages, less func(p1, p2 Page) bool) int {
71
return searchPageLinear(p, pages, i)
72
}
73
74
-// isProbablySorted tests if the pages slice is probably sorted.
+// isPagesProbablySorted tests if the pages slice is probably sorted.
75
func isPagesProbablySorted(pages Pages, lessFuncs ...func(p1, p2 Page) bool) func(p1, p2 Page) bool {
76
n := len(pages)
77
step := 1
0 commit comments