Skip to content

Commit 733e34c

Browse files
fix: readme (#30)
1 parent d110ff5 commit 733e34c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ struct Person {
9696
expands to:
9797
```swift
9898
extension 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 {
115115
expands to:
116116
```swift
117117
extension 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

141141
expands 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
}

0 commit comments

Comments
 (0)