From 2abaf81eb0a805ea09fd45653f3fec0c88badeeb Mon Sep 17 00:00:00 2001 From: bart Date: Tue, 25 Jun 2019 12:15:50 +0200 Subject: [PATCH] Added comment --- token/token.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/token/token.go b/token/token.go index a6cff4e..41849e2 100644 --- a/token/token.go +++ b/token/token.go @@ -75,7 +75,7 @@ func checkDelimitersLength(arr []string) error { return nil } -// BeginsWith returns true if char of type matches input +// BeginsWith returns true if first char of type matches input func (t *Type) BeginsWith(ch byte) bool { return (*t)[0] == ch }