File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -96,9 +96,9 @@ struct Person {
9696expands to:
9797``` swift
9898extension Person : Equatable {
99- nonisolated public static func == (lhs : Person, rhs : Person) -> Bool {
99+ nonisolated public static func == (lhs : Person, rhs : Person) -> Bool {
100100 lhs.name == rhs.name && lhs.age == rhs.age
101- }
101+ }
102102}
103103```
104104
@@ -115,9 +115,9 @@ struct Person {
115115expands to:
116116``` swift
117117extension Person : Equatable {
118- public static func == (lhs : Person, rhs : Person) -> Bool {
118+ public static func == (lhs : Person, rhs : Person) -> Bool {
119119 lhs.name == rhs.name && lhs.age == rhs.age
120- }
120+ }
121121}
122122```
123123
@@ -140,7 +140,7 @@ struct Person {
140140
141141expands to:
142142``` swift
143- extension Person : Equatable {
143+ extension Person : @MainActor Equatable {
144144 public static func == (lhs : Person, rhs : Person) -> Bool {
145145 lhs.name == rhs.name && lhs.age == rhs.age
146146 }
You can’t perform that action at this time.
0 commit comments