We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a8863a commit e005b0eCopy full SHA for e005b0e
proxytime/proxytime.go
@@ -236,8 +236,7 @@ func (tm *Time[D]) Sub(s uint64) *Time[D] {
236
// 0 if tm and u represent the same instant
237
// +1 if tm is after u.
238
//
239
-// The original implementation of Compare required that both instants had the
240
-// same [Time.Rate] but this is no longer necessary.
+// The two instants MAY have a different [Time.Rate].
241
func (tm *Time[D]) Compare(u *Time[D]) int {
242
if c := cmp.Compare(tm.seconds, u.seconds); c != 0 {
243
return c
0 commit comments