mirror of
https://github.com/golang/go
synced 2024-11-07 12:36:27 -07:00
27015152ec
There is a single function in the flag package whose implementation
uses string concatenation instead of the recommended strings.Builder.
The function was last touched before strings.Builder was introduced
in Go 1.10, which explains the old style code. This PR updates
the implementation.
Fixes #45392
Change-Id: Id2d8f1788765a0c4faaeb1e6870914f72b3c8442
GitHub-Last-Rev:
|
||
---|---|---|
.. | ||
example_func_test.go | ||
example_test.go | ||
example_value_test.go | ||
export_test.go | ||
flag_test.go | ||
flag.go |