From 867982f65ba1f4883b88884eccc6b0f4094059e3 Mon Sep 17 00:00:00 2001 From: tinyfoolish Date: Fri, 14 Nov 2025 16:33:15 +0800 Subject: [PATCH] chore: make function comment match function name Signed-off-by: tinyfoolish --- harmony/taskhelp/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/harmony/taskhelp/common.go b/harmony/taskhelp/common.go index 10a930d8f..83060b842 100644 --- a/harmony/taskhelp/common.go +++ b/harmony/taskhelp/common.go @@ -2,7 +2,7 @@ package taskhelp import "strings" -// SubsetIf returns a subset of the slice for which the predicate is true. +// SliceIfFound returns a subset of the slice for which the predicate is true. // It does not allocate memory, but rearranges the list in place. // A non-zero list input will always return a non-zero list. // The return value is the subset and a boolean indicating whether the subset was sliced.