aboutsummaryrefslogtreecommitdiff
path: root/src/errors
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2019-03-06 22:24:54 -0500
committerRuss Cox <rsc@golang.org>2019-03-14 00:08:15 +0000
commit7c04110c5203c4502d4c23f1464acb9f07f8bb6b (patch)
tree283dcbf51297291bbac99916ea8f5f96c7a7310c /src/errors
parent66f5d4e03500bf5085d10eb5ffd89bf33b7d2b9f (diff)
downloadgo-7c04110c5203c4502d4c23f1464acb9f07f8bb6b.tar.xz
fmt: put back named results in ss.scanBasePrefix
CL 165619 removed these names when it removed the use of the plain 'return'. But the names help for documentation purposes even without being mentioned directly in the function, so removing them makes the code less readable. Put them back. I renamed found to zeroFound to make the meaning clearer. Change-Id: I1010931f08290af0b0ede7d21b1404c2eea196a0 Reviewed-on: https://go-review.googlesource.com/c/go/+/165899 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/errors')
0 files changed, 0 insertions, 0 deletions