Files
swift-nio/Sources
Trevör d30aa6a9f1 Add conditional conformances of CircularBuffer to Equatable and Hashable (#1101)
Motivation:
In general, Swift collections and sequences automatically conforms to
Equatable and Hashable when their Element conforms to Equatable and
Hashhable, respectively. This wasn't the case of CircularBuffer, which
was unintuitive and could cause useless boilerplate code.

Modifications:
CircularBuffer has been extended so that it conforms to Equatable when
its Element is Equatable, and to Hashable when its element is Hashable.
Corresponding test cases have been added.

Result:
Appropriate conditional conformances of CircularBuffer to Equatable and
Hashable
2019-08-11 17:06:07 +01:00
..
2019-02-26 14:15:56 +00:00
2019-03-25 12:09:16 +02:00