summaryrefslogtreecommitdiff
path: root/predicate.go
diff options
context:
space:
mode:
authorEyal Posener <[email protected]>2017-05-06 22:25:44 +0300
committerEyal Posener <[email protected]>2017-05-06 22:25:44 +0300
commitcc743aad8be84fa477d744e144c84ed75431ba3a (patch)
tree505482bd32b4d833299d28ac48f3963fd8492b69 /predicate.go
parentc26ef096c7990a5ae97b503545fd76ff6df388d6 (diff)
Fix vet
Diffstat (limited to 'predicate.go')
-rw-r--r--predicate.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/predicate.go b/predicate.go
index a6746be..e377429 100644
--- a/predicate.go
+++ b/predicate.go
@@ -27,9 +27,9 @@ func (p Predicate) predict(last string) []Matcher {
}
// PredictNothing does not expect anything after.
-var PredictNothing Predicate = nil
+var PredictNothing Predicate
-// PredictNothing expects something, but nothing particular, such as a number
+// PredictAnything expects something, but nothing particular, such as a number
// or arbitrary name.
func PredictAnything(last string) []Matcher { return nil }