You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***v2** Added `CustomStringConvertible` conformance to `Calendar.RecurrenceRule.End`.
16
16
***v3** Renamed `count` to `occurrences`
17
+
***v4** Made `Calendar.RecurrenceRule` conform to `Hashable`
17
18
18
19
## Introduction
19
20
@@ -41,6 +42,8 @@ This is de-facto an enum, but it was declared as struct to be future-proof. Howe
41
42
42
43
Additionally, we add `CustomStringConvertible` conformance to the struct. Previously, implementation details would be leaked when printing (`End(_guts: Foundation.Calendar.RecurrenceRule.End.(unknown context at $1a0a00afc)._End.never)`).
43
44
45
+
Lastly, we also make `Calendar.RecurrenceRule` and its subtypes conform to `Hashable`
46
+
44
47
## Detailed design
45
48
46
49
```swift
@@ -66,6 +69,15 @@ public extension Calendar.RecurrenceRule.End: CustomStringConvertible {
0 commit comments