aboutsummaryrefslogtreecommitdiff
path: root/src/internal/execabs/execabs.go
diff options
context:
space:
mode:
authorIllirgway <Illirgway@users.noreply.github.com>2021-06-21 20:52:31 +0000
committerGopher Robot <gobot@golang.org>2022-04-29 02:01:27 +0000
commite7c56fe9948449a3710b36c22c02d57c215d1c10 (patch)
treec95a968085854a83c695aabd8e98c9095f3aa928 /src/internal/execabs/execabs.go
parenta5dd684293d375ec7648ed85326c3a32edb126e2 (diff)
downloadgo-e7c56fe9948449a3710b36c22c02d57c215d1c10.tar.xz
strings: adding micro-optimization for TrimSpace
replace for string's end trimming TrimFunc -> TrimRightFunc strings.TrimSpace string's end trimming should use more specific TrimRightFunc instead of common TrimFunc (because start has already trimmed before) Change-Id: I827f1a25c141e61edfe1f8b11f6e8cd685f8b384 GitHub-Last-Rev: 040607a8314222f5958b96eb1bc20d840d1bcaac GitHub-Pull-Request: golang/go#46862 Reviewed-on: https://go-review.googlesource.com/c/go/+/329731 Auto-Submit: Russ Cox <rsc@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Russ Cox <rsc@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'src/internal/execabs/execabs.go')
0 files changed, 0 insertions, 0 deletions