mirror of
https://github.com/golang/go
synced 2024-11-18 16:14:46 -07:00
2e34cfcb95
strings.Trim treats the second parameter as a set of characters you want to trim. It does not look for an entire string to trim. This fix will maintain the current behavior, simply eliminating the dupe character in the set. Should we instead mean to really trim the entire string, this needs a different fix. Change-Id: Id3fa4105421819edc6a898efb1ffab26c8cea67a GitHub-Last-Rev: 198e429869711ee1510fffe5a993acb07eff4502 GitHub-Pull-Request: golang/tools#142 Reviewed-on: https://go-review.googlesource.com/c/tools/+/187497 Reviewed-by: Ian Cottrell <iancottrell@google.com> Reviewed-by: Heschi Kreinick <heschi@google.com> Run-TryBot: Ian Cottrell <iancottrell@google.com> |
||
---|---|---|
.. | ||
testdata/mod | ||
fix_test.go | ||
fix.go | ||
imports.go | ||
mkindex.go | ||
mkstdlib.go | ||
mod_112_test.go | ||
mod_test.go | ||
mod.go | ||
proxy_112_test.go | ||
proxy_113_test.go | ||
sortimports.go | ||
zstdlib.go |