aboutsummaryrefslogtreecommitdiffhomepage
path: root/helpers
diff options
context:
space:
mode:
authorOleksandr Redko <[email protected]>2023-05-18 12:05:56 +0300
committerBjørn Erik Pedersen <[email protected]>2023-05-18 21:25:27 +0200
commit610cedaa61cf1f318ecd4a7818a896b1e56e7662 (patch)
tree3c206f0386b05b44ec1f3bd00f9d96f6904c8446 /helpers
parent24e7d0c174a24a016f65be46765ab9c795e1e123 (diff)
downloadhugo-610cedaa61cf1f318ecd4a7818a896b1e56e7662.tar.gz
hugo-610cedaa61cf1f318ecd4a7818a896b1e56e7662.zip
all: Fix comments for exported functions and packages
Diffstat (limited to 'helpers')
-rw-r--r--helpers/general.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/general.go b/helpers/general.go
index e8d8bdecc..50f7920f6 100644
--- a/helpers/general.go
+++ b/helpers/general.go
@@ -117,7 +117,7 @@ func UniqueStringsReuse(s []string) []string {
return result
}
-// UniqueStringsReuse returns a sorted slice with any duplicates removed.
+// UniqueStringsSorted returns a sorted slice with any duplicates removed.
// It will modify the input slice.
func UniqueStringsSorted(s []string) []string {
if len(s) == 0 {