diff options
| author | Russ Cox <rsc@golang.org> | 2020-03-07 09:35:12 -0500 |
|---|---|---|
| committer | Emmanuel Odeke <emm.odeke@gmail.com> | 2020-04-17 22:12:02 +0000 |
| commit | 4d9ecde30a77f4a4197b585b42cc2117607a8c40 (patch) | |
| tree | 1d425aee67871deb85740ab0df7245a2ad931e8a /src/os/exec/exec_test.go | |
| parent | 670cb9c37769f07fd8c2aac6270a9f2342d2b970 (diff) | |
| download | go-4d9ecde30a77f4a4197b585b42cc2117607a8c40.tar.xz | |
regexp/syntax: fix comment on p.literal and simplify
p.literal's doc comment said it returned a value but it doesn't.
While we're here, p.newLiteral is only called from p.literal,
so simplify the code by merging the two.
Change-Id: Ia357937a99f4e7473f0f1ec837113a39eaeb83d4
Reviewed-on: https://go-review.googlesource.com/c/go/+/222659
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/os/exec/exec_test.go')
0 files changed, 0 insertions, 0 deletions
