aboutsummaryrefslogtreecommitdiffstats
path: root/prog/encoding.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-12-28 10:14:11 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-12-30 16:37:38 +0100
commit3203771359c999c7f7936897b06592758536af44 (patch)
tree25c3ee01421b7e527e5b95718b8beebedbbedebb /prog/encoding.go
parent1bd7cab3183bee381df2aaecb193984c2ab43b4e (diff)
prog: fix a typo in a comment
Diffstat (limited to 'prog/encoding.go')
-rw-r--r--prog/encoding.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/encoding.go b/prog/encoding.go
index e4f762756..943dfe350 100644
--- a/prog/encoding.go
+++ b/prog/encoding.go
@@ -1107,7 +1107,7 @@ func (p *parser) strictFailf(msg string, args ...interface{}) {
}
// CallSet returns a set of all calls in the program.
-// It does very conservative parsing and is intended to parse paste/future serialization formats.
+// It does very conservative parsing and is intended to parse past/future serialization formats.
func CallSet(data []byte) (map[string]struct{}, error) {
calls := make(map[string]struct{})
s := bufio.NewScanner(bytes.NewReader(data))