aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cache/filter.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache/filter.go b/cache/filter.go
index a5aca8fb..fe6d200a 100644
--- a/cache/filter.go
+++ b/cache/filter.go
@@ -55,7 +55,7 @@ func LabelFilter(label string) Filter {
}
}
-// TitleFilter return a Filter that match a title
+// TitleFilter return a Filter that match if the title contains the given pattern
func TitleFilter(title string) Filter {
return func(repo *RepoCache, excerpt *BugExcerpt) bool {
return strings.Contains(excerpt.Title, title)