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:
parent
8cf45909b5
commit
2e24a737c5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user