Use name of function in comment string

Name of function is Difference, not Differences.
This commit is contained in:
Svend Sorensen 2015-06-04 13:03:01 -07:00
parent e2e2cd097e
commit 943bf3c00a
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ func (s *Set) List() []interface{} {
return result
}
// Differences performs a set difference of the two sets, returning
// Difference performs a set difference of the two sets, returning
// a new third set that has only the elements unique to this set.
func (s *Set) Difference(other *Set) *Set {
result := &Set{F: s.F}