summaryrefslogtreecommitdiff
path: root/predicate.go
diff options
context:
space:
mode:
authorEyal Posener <[email protected]>2017-05-06 00:53:03 +0300
committerEyal Posener <[email protected]>2017-05-06 00:53:03 +0300
commit5dbf53eec0f066e97f443d1d85e1ba9ee288f1b5 (patch)
tree75cf5d3d38f3fb4ca0ad78a71c018bf9afcc0176 /predicate.go
parent87dada1ec4de1a1404a908d45b13765bb83f9ec6 (diff)
nicer signature for PredictSet
Diffstat (limited to 'predicate.go')
-rw-r--r--predicate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/predicate.go b/predicate.go
index 08a6722..bcf48b8 100644
--- a/predicate.go
+++ b/predicate.go
@@ -37,7 +37,7 @@ var (
PredictAnything = Predicate{}
)
-func PredictSet(options []string) Predicate {
+func PredictSet(options ...string) Predicate {
return Predicate{
Predictor: func() []Option {
ret := make([]Option, len(options))