mirror of https://github.com/golang/go.git
cmd/compile: correct doc comment name for OrderedOrEqual
Change-Id: I9ac2565f8d39a30c5f10d924a934441b30e12e98
GitHub-Last-Rev: 6943ac4ac5
GitHub-Pull-Request: golang/go#50983
Reviewed-on: https://go-review.googlesource.com/c/go/+/382459
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Cherry Mui <cherryyz@google.com>
This commit is contained in:
parent
9e0de1fe7b
commit
1fe8f47cc3
|
|
@ -906,7 +906,7 @@ func (po *poset) Ordered(n1, n2 *Value) bool {
|
|||
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
|
||||
// to tell.
|
||||
// Complexity is O(n).
|
||||
|
|
|
|||
Loading…
Reference in New Issue