]> Cypherpunks repositories - gostls13.git/commitdiff
bytes: Fix missing godoc punctuation.
authorMatthew Dempsky <mdempsky@google.com>
Mon, 7 Jan 2013 03:44:04 +0000 (22:44 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 7 Jan 2013 03:44:04 +0000 (22:44 -0500)
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/7067047

src/pkg/bytes/bytes.go

index cb4dae6aecc3faab7dbd51cd1304ad01c878addd..e3ee5b1d88a63712f5e84bbc6d59af3240fcda02 100644 (file)
@@ -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)