diff options
author | Peter Mundy <go.peter.90@gmail.com> | 2011-01-09 12:11:16 -0500 |
---|---|---|
committer | Adam Langley <agl@golang.org> | 2011-01-09 12:11:16 -0500 |
commit | 2b0a27612923b87309fc49ffde767ba99a9ba892 (patch) | |
tree | 60c2272e39b60c67861a6d87d9ff1e4a3ce32b2d | |
parent | 0c02bd18011c4290b27c3dc70ec2e762c6dcaffc (diff) | |
download | go-2b0a27612923b87309fc49ffde767ba99a9ba892.tar.gz go-2b0a27612923b87309fc49ffde767ba99a9ba892.zip |
bytes: fix TrimSpace typo
Fixes #1401.
R=golang-dev, agl1
CC=golang-dev
https://golang.org/cl/3937041
-rw-r--r-- | src/pkg/bytes/bytes.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/bytes/bytes.go b/src/pkg/bytes/bytes.go index c0937ca300..bfe2ef39db 100644 --- a/src/pkg/bytes/bytes.go +++ b/src/pkg/bytes/bytes.go @@ -547,7 +547,7 @@ func TrimRight(s []byte, cutset string) []byte { } // TrimSpace returns a subslice of s by slicing off all leading and -// trailing white space, as as defined by Unicode. +// trailing white space, as defined by Unicode. func TrimSpace(s []byte) []byte { return TrimFunc(s, unicode.IsSpace) } |