summaryrefslogtreecommitdiff
path: root/predicate.go
diff options
context:
space:
mode:
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 }