mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-11 20:03:58 +02:00
resources/page: Fix GoDoc comment
This commit is contained in:
@@ -71,7 +71,7 @@ func searchPageBinary(p Page, pages Pages, less func(p1, p2 Page) bool) int {
|
|||||||
return searchPageLinear(p, pages, i)
|
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 {
|
func isPagesProbablySorted(pages Pages, lessFuncs ...func(p1, p2 Page) bool) func(p1, p2 Page) bool {
|
||||||
n := len(pages)
|
n := len(pages)
|
||||||
step := 1
|
step := 1
|
||||||
|
Reference in New Issue
Block a user