You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a wrong comment about strings.TrimSpace ?
What version of Go are you using (go version)?
go 1.21
$ go version
go 1.21
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
MacOS
go env Output
It's not a bug but maybe it will misslead golang newer.
// TrimSpace returns a slice of the string s, with all leading
// and trailing white space removed, as defined by Unicode.
func TrimSpace(s string) string {
The text was updated successfully, but these errors were encountered:
Is there a wrong comment about strings.TrimSpace ?
What version of Go are you using (
go version
)?go 1.21
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?MacOS
go env
OutputIt's not a bug but maybe it will misslead golang newer.
The text was updated successfully, but these errors were encountered: