Skip to content

Commit e13dd94

Browse files
a8mbradfitz
authored andcommitted
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 <[email protected]>
1 parent 827584e commit e13dd94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/go/internal/semver/semver.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ func Build(v string) string {
107107
}
108108

109109
// Compare returns an integer comparing two versions according to
110-
// according to semantic version precedence.
110+
// semantic version precedence.
111111
// The result will be 0 if v == w, -1 if v < w, or +1 if v > w.
112112
//
113113
// An invalid semantic version string is considered less than a valid one.

0 commit comments

Comments
 (0)