Merge pull request #2238 from svend/func-comment

Use name of function in comment string
This commit is contained in:
Radek Simko 2015-06-04 21:19:42 +01:00
commit 4bb63cbe65

View File

@ -74,7 +74,7 @@ func (s *Set) List() []interface{} {
return result 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. // a new third set that has only the elements unique to this set.
func (s *Set) Difference(other *Set) *Set { func (s *Set) Difference(other *Set) *Set {
result := &Set{F: s.F} result := &Set{F: s.F}