mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue