mirror of
https://github.com/golang/go
synced 2024-11-19 00:44:40 -07:00
cmd/go/internal/semver: remove duplicate words in Compare doc
Change-Id: I1ab0b5f713581b5f497878f222fa4ba3998a0ccd Reviewed-on: https://go-review.googlesource.com/c/go/+/196179 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
827584e2f3
commit
e13dd94c56
@ -107,7 +107,7 @@ func Build(v string) string {
|
||||
}
|
||||
|
||||
// Compare returns an integer comparing two versions according to
|
||||
// according to semantic version precedence.
|
||||
// semantic version precedence.
|
||||
// The result will be 0 if v == w, -1 if v < w, or +1 if v > w.
|
||||
//
|
||||
// An invalid semantic version string is considered less than a valid one.
|
||||
|
Loading…
Reference in New Issue
Block a user