Skip to content

Commit

Permalink
semantic: fix godocs
Browse files Browse the repository at this point in the history
  • Loading branch information
sttts committed Feb 6, 2019
1 parent 5e83a67 commit 7b6e69c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions semantic/deep_equal.go
Expand Up @@ -16,7 +16,7 @@ import (
// that type.
type Equalities map[reflect.Type]reflect.Value

// For convenience, panics on errrors
// EqualitiesOrDie adds the given funcs and panics on any error.
func EqualitiesOrDie(funcs ...interface{}) Equalities {
e := Equalities{}
if err := e.AddFuncs(funcs...); err != nil {
Expand Down Expand Up @@ -97,7 +97,7 @@ func makeUsefulPanic(v reflect.Value) {
}
}

// Tests for deep equality using reflected types. The map argument tracks
// deepValueEqual tests for deep equality using reflected types. The map argument tracks
// comparisons that have already been seen, which allows short circuiting on
// recursive types.
func (e Equalities) deepValueEqual(v1, v2 reflect.Value, visited map[visit]bool, depth int) bool {
Expand Down

0 comments on commit 7b6e69c

Please sign in to comment.