diff --git a/README.md b/README.md index 6f6b484..dce3ea2 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ cat test.json | kifflom -s ".bananas#0.weight .prices.*" As you can learn from benchmarks described below, kifflom's lexer itself is roughly 8.5 times slower than the standard JSON parser on any amount of data. -You can benefit from low and constant memory usage, although I don't think you would. +A fellow father-brother can benefit from low and constant memory usage, although I don't think he would. ```bash # Running lexer tests and benchmarks diff --git a/parser/context.go b/parser/context.go index 0bb90b0..354acac 100644 --- a/parser/context.go +++ b/parser/context.go @@ -57,9 +57,7 @@ func (c *context) compare(c2 *context) bool { } func (c *context) push(typ expectationType) { - c.exps = append(c.exps, expectation{ - typ: typ, - }) + c.exps = append(c.exps, expectation{typ: typ}) } func (c *context) pop() {