Skip to content

Commit e005b0e

Browse files
committed
doc: remove reference to old behaviour
1 parent 5a8863a commit e005b0e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

proxytime/proxytime.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,7 @@ func (tm *Time[D]) Sub(s uint64) *Time[D] {
236236
// 0 if tm and u represent the same instant
237237
// +1 if tm is after u.
238238
//
239-
// The original implementation of Compare required that both instants had the
240-
// same [Time.Rate] but this is no longer necessary.
239+
// The two instants MAY have a different [Time.Rate].
241240
func (tm *Time[D]) Compare(u *Time[D]) int {
242241
if c := cmp.Compare(tm.seconds, u.seconds); c != 0 {
243242
return c

0 commit comments

Comments
 (0)