aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIkko Ashimine <eltociear@gmail.com>2021-04-13 01:47:06 +0900
committerGitHub <noreply@github.com>2021-04-12 09:47:06 -0700
commit1ee4af8b89b19a908a39ae7281c93dcc59eeb4d3 (patch)
tree186728c3ff09c516273258cbd1c7d9f11ced3cb5
parent8fa37b4dd109f12e42b131e485268768f18bcbf8 (diff)
downloadgo-cmp-1ee4af8b89b19a908a39ae7281c93dcc59eeb4d3.tar.gz
Fix typo in path.go (#256)
s/seperate/separate/
-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