mirror of
https://github.com/golang/go
synced 2024-11-06 22:36:15 -07:00
cmd/compile: correct doc comment name for OrderedOrEqual
This commit is contained in:
parent
9784ef8ab1
commit
6943ac4ac5
@ -906,7 +906,7 @@ func (po *poset) Ordered(n1, n2 *Value) bool {
|
|||||||
return i1 != i2 && po.reaches(i1, i2, true)
|
return i1 != i2 && po.reaches(i1, i2, true)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ordered reports whether n1<=n2. It returns false either when it is
|
// OrderedOrEqual reports whether n1<=n2. It returns false either when it is
|
||||||
// certain that n1<=n2 is false, or if there is not enough information
|
// certain that n1<=n2 is false, or if there is not enough information
|
||||||
// to tell.
|
// to tell.
|
||||||
// Complexity is O(n).
|
// Complexity is O(n).
|
||||||
|
Loading…
Reference in New Issue
Block a user