]> Cypherpunks repositories - gostls13.git/commit
strings: Update Trim example.
authorRobin Eklind <r.eklind.87@gmail.com>
Mon, 16 Dec 2013 18:40:28 +0000 (10:40 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 16 Dec 2013 18:40:28 +0000 (10:40 -0800)
commit7b53e32e0bfda3bf63c608a83a46a75c7d2e969f
treea0d3b855353bcc1af7a5b2818894431b90b65764
parenta392cf4fd36728efe852d422d702cb23f5ba6d73
strings: Update Trim example.

Use an input which better shows that behaviour of the function. Only leading
and trailing runes are trimed, not intermediate ones.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/42390043
src/pkg/strings/example_test.go