File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ func (cs Constraints) Check(v *Version) bool {
107
107
// to '>0.2' it is *NOT* treated as equal.
108
108
//
109
109
// Missing operator is treated as equal to '=', whitespaces
110
- // are ignored and constraints are sorted before comaparison .
110
+ // are ignored and constraints are sorted before comparison .
111
111
func (cs Constraints ) Equals (c Constraints ) bool {
112
112
if len (cs ) != len (c ) {
113
113
return false
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ func (v *Version) Compare(other *Version) int {
174
174
} else if lhs < rhs {
175
175
return - 1
176
176
}
177
- // Otherwis , rhs was > lhs, they're not equal
177
+ // Otherwise , rhs was > lhs, they're not equal
178
178
return 1
179
179
}
180
180
You can’t perform that action at this time.
0 commit comments