Commit 2b0a2761 authored by Peter Mundy's avatar Peter Mundy Committed by Adam Langley

bytes: fix TrimSpace typo

Fixes #1401.

R=golang-dev, agl1
CC=golang-dev
https://golang.org/cl/3937041
parent 0c02bd18
......@@ -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)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment