Skip to content

Commit bdd8be7

Browse files
committed
Update changelog about tuple ==/hashValue synthesis
1 parent 4642537 commit bdd8be7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Swift 4.1
2424

2525
* [SE-0185][]
2626

27-
Structs and enums that declare a conformance to `Equatable`/`Hashable` now get an automatically synthesized implementation of `==`/`hashValue`. For structs, all stored properties must be `Equatable`/`Hashable`. For enums, all enum cases with associated values must be `Equatable`/`Hashable`.
27+
Structs and enums that declare a conformance to `Equatable`/`Hashable` now get an automatically synthesized implementation of `==`/`hashValue`. For structs, all stored properties must either be `Equatable`/`Hashable` or tuples where all elements are `Equatable`/`Hashable`. For enums, all enum cases with associated values must be `Equatable`/`Hashable` or tuples where all elements are `Equatable`/`Hashable`.
2828

2929
```swift
3030
public struct Point: Hashable {

0 commit comments

Comments
 (0)