aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/bytes/bytes.go
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2013-01-06 22:44:04 -0500
committerRuss Cox <rsc@golang.org>2013-01-06 22:44:04 -0500
commit2e24a737c5d9106ab3c9834530f760cd5ebd8905 (patch)
tree674ea71ed9cc98d0db4eccff69863955ed2f9a15 /src/pkg/bytes/bytes.go
parent8cf45909b59dbc9edf856b129c6b84603438973b (diff)
downloadgo-2e24a737c5d9106ab3c9834530f760cd5ebd8905.tar.xz
bytes: Fix missing godoc punctuation.
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7067047
Diffstat (limited to 'src/pkg/bytes/bytes.go')
-rw-r--r--src/pkg/bytes/bytes.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/bytes/bytes.go b/src/pkg/bytes/bytes.go
index cb4dae6aec..e3ee5b1d88 100644
--- a/src/pkg/bytes/bytes.go
+++ b/src/pkg/bytes/bytes.go
@@ -12,7 +12,7 @@ import (
)
// Compare returns an integer comparing two byte slices lexicographically.
-// The result will be 0 if a==b, -1 if a < b, and +1 if a > b
+// The result will be 0 if a==b, -1 if a < b, and +1 if a > b.
// A nil argument is equivalent to an empty slice.
func Compare(a, b []byte) int {
m := len(a)