Signal-iOS/SignalMessaging/Payments
Evan Hahn 083ec1ccba Fix SwiftLint is_disjoint violations
This fixes violations of [SwiftLint's `is_disjoint` rules][0], which
says that `set1.intersection(set2).isEmpty` should be replaced with
`set1.isDisjoint(with: set2)`.

I also took one additional step in a few cases: `isDisjoint` can be
called [with any `Sequence`][1], not just a `Set`. This let me remove
some conversions to `Set`. In other words:

```diff
-mySet.isDisjoint(with: Set(myArray))
+mySet.isDisjoint(with: myArray)
```

[0]: https://realm.github.io/SwiftLint/is_disjoint.html
[1]: https://developer.apple.com/documentation/swift/set/2853831-isdisjoint
2022-05-25 14:17:10 +00:00
..
PaymentsCurrenciesImpl.swift Fix protocol conformance warnings 2022-05-09 11:44:05 -05:00
PaymentsHelperImpl.swift Fix SwiftLint is_disjoint violations 2022-05-25 14:17:10 +00:00