1
0
mirror of https://github.com/golang/go synced 2024-11-26 17:56:55 -07:00

bytes: Fix missing godoc punctuation.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/7067047
This commit is contained in:
Matthew Dempsky 2013-01-06 22:44:04 -05:00 committed by Russ Cox
parent 8cf45909b5
commit 2e24a737c5

View 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)