Skip to content

Commit

Permalink
Fix typo on example (#193)
Browse files Browse the repository at this point in the history
Remove redundant "be".
  • Loading branch information
morrowc authored Mar 29, 2020
1 parent f6dc95b commit cb8c7f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmp/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ func (x otherString) Equal(y otherString) bool {
return strings.ToLower(string(x)) == strings.ToLower(string(y))
}

// If the Equal method defined on a type is not suitable, the type can be be
// If the Equal method defined on a type is not suitable, the type can be
// dynamically transformed to be stripped of the Equal method (or any method
// for that matter).
func ExampleOption_avoidEqualMethod() {
Expand Down

0 comments on commit cb8c7f8

Please sign in to comment.