commit | 7c0c105296bbc3ad17f461d3affa7bcfd11a0f6d | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch1@gmail.com> | Thu Nov 21 14:04:12 2019 -0800 |
committer | GitHub <noreply@github.com> | Thu Nov 21 14:04:12 2019 -0800 |
tree | 81c899cf84aadfb5f06352a5be3274c8830b0dac | |
parent | 6effd0b24ffea345f0a0113d8c371b665686d97c [diff] |
Small cleanup on single set add (dart-lang/glob#29) - Add generic type on Set constructor. - Use `??=` for null defaulting. - Avoid the extra `set.contains` check since `set.add` already returns a bool indicating if the element is new.