Open bradleyjkemp opened 6 years ago
For maps of the form map[something]struct{} we can render these specially as a set (i.e. don't bother rendering the empty struct every time). Similar could be done for map[something]bool but that's less safe as that might not actually be a set
For maps of the form map[something]struct{} we can render these specially as a set (i.e. don't bother rendering the empty struct every time). Similar could be done for map[something]bool but that's less safe as that might not actually be a set