aboutsummaryrefslogtreecommitdiff
path: root/cmp/cmpopts/equate.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmp/cmpopts/equate.go')
-rw-r--r--cmp/cmpopts/equate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmp/cmpopts/equate.go b/cmp/cmpopts/equate.go
index e4ffca8..62837c9 100644
--- a/cmp/cmpopts/equate.go
+++ b/cmp/cmpopts/equate.go
@@ -111,7 +111,7 @@ type timeApproximator struct {
func (a timeApproximator) compare(x, y time.Time) bool {
// Avoid subtracting times to avoid overflow when the
- // difference is larger than the largest representible duration.
+ // difference is larger than the largest representable duration.
if x.After(y) {
// Ensure x is always before y
x, y = y, x