diff options
author | George Ma <[email protected]> | 2024-03-22 15:56:10 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2024-03-22 08:56:10 +0100 |
commit | 27414d43a07026fe94f0e3c5ca3e69a4b1c8f2e4 (patch) | |
tree | 98b15e7ab8804738683b0c72907c6b1af42f0c65 | |
parent | c837f36ab4f1bef581d67a115906556ac16473dc (diff) | |
download | hugo-27414d43a07026fe94f0e3c5ca3e69a4b1c8f2e4.tar.gz hugo-27414d43a07026fe94f0e3c5ca3e69a4b1c8f2e4.zip |
resources/page: Fix GoDoc comment
-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 |