chore: fix some inconsistent function name in comment

Signed-off-by: youzichuan <youzichuan6@outlook.com>
This commit is contained in:
youzichuan
2025-08-13 16:22:45 +08:00
committed by Jesse Gross
parent a343ae53a4
commit bb71654ebe
4 changed files with 4 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ func ContainsStopSuffix(sequence string, stops []string) bool {
return false
}
// truncateStop removes the provided stop string from pieces,
// TruncateStop removes the provided stop string from pieces,
// returning the partial pieces with stop removed, including truncating
// the last piece if required (and signalling if this was the case)
func TruncateStop(pieces []string, stop string) ([]string, bool) {