aboutsummaryrefslogtreecommitdiff
path: root/cmp/path.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmp/path.go')
-rw-r--r--cmp/path.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmp/path.go b/cmp/path.go
index 3d45c1a..f01eff3 100644
--- a/cmp/path.go
+++ b/cmp/path.go
@@ -315,7 +315,7 @@ func (tf Transform) Option() Option { return tf.trans }
// pops the address from the stack. Thus, when traversing into a pointer from
// reflect.Ptr, reflect.Slice element, or reflect.Map, we can detect cycles
// by checking whether the pointer has already been visited. The cycle detection
-// uses a seperate stack for the x and y values.
+// uses a separate stack for the x and y values.
//
// If a cycle is detected we need to determine whether the two pointers
// should be considered equal. The definition of equality chosen by Equal