Descriptionutils/set: use value methods consistently
This means we can build up expressions with sets;
for instance s1.Union(s2).Union(s2), something
that did not work before.
Only methods that modify the set in place remain
pointer methods, as is conventional.
Another possibility would be to pass *set.Strings around
for everything.
https://code.launchpad.net/~rogpeppe/juju-core/366-set-value-methods/+merge/179966
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : utils/set: use value methods consistently #
MessagesTotal messages: 3
|